Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Perl Destroys Interview Question

by Abigail-II (Bishop)
on Jan 13, 2004 at 16:59 UTC ( #321034=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Perl Destroys Interview Question
in thread Perl Destroys Interview Question

That just depends on how a word is defined. Which the OP didn't. And considering the suggestions how to fix the OP's solution (split with no arguments/-a without a -F), I wasn't the only one taking the not uncommon "non-whitespace" definition.

But I'd like to see the version you would write during a job interview. Make sure you take into account punctuation, Unicode and words like O'Reilly, and home-brew.

Abigail

Comment on Re: Perl Destroys Interview Question

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://321034]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (11)
As of 2016-05-25 18:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?