Hewlett-Packard
3.0 of 5 8,225 reviews
www.hp.com Palo Alto, CA 5000+ Employees

Hewlett-Packard Database Administrator Interview Question

I interviewed in Washington, DC and was asked:
"Was asked to write a perl script to remove empty space at end of each line"
Tags: perl
Add Tags [?]
Answer Flag Question

Part of a Database Administrator Interview Review - one of 1,478 Hewlett-Packard Interview Reviews

Answers & Comments

0
of 0
votes
Use the keyword CHOMP
#! usr/bin/perl
print "How old are you?";
chomp ($age = <>);
- vamsi on Feb 5, 2014 Flag Response

To comment on this question, Sign In with Facebook or Sign Up


Hewlett-Packard – Why Work for Us?

The start-up that started it all. Six decades before high tech and dot coms existed, classmates Bill Hewlett and Dave Packard built an audio oscillator in a garage and launched a technology revolution. Today we’re… Full Overview

Provided by employer [?]

Tags are like keywords that help categorize interview questions that have something in common.

Glassdoor is your free inside look at Hewlett-Packard interview questions and advice. All interview reviews posted anonymously by Hewlett-Packard employees and interview candidates.