Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 drinking their drinks and smoking their pipes about the Monastery: (10)
As of 2014-09-23 09:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (216 votes), past polls