Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: 3 questions... 2 about newlines, and one on how to be NICE

by Mago (Parson)
on Jan 10, 2005 at 20:43 UTC ( #421079=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        while (<>) {
        chomp;    # avoid \n on last field
        @array = split(/:/);
        # ...
        }
    
  2. or download this
        chomp($cwd = `pwd`);
        chomp($answer = <STDIN>);
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (14)
As of 2014-07-31 16:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (249 votes), past polls