Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

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.


Comment on Re: Perl Destroys Interview Question

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2015-11-27 17:03 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (731 votes), past polls