Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2017-11-23 17:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (336 votes). Check out past polls.

    Notices?