Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: it should be simple enough...

by ELISHEVA (Prior)
on Feb 20, 2011 at 10:31 UTC ( [id://889170]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    local $/='//';        #define record separator
    my @records = <$in>;  # read in all records
    chomp @records;       #get rid of trailing // from each record
    
  2. or download this
    local $/='//';
    while (my $record = <$in>) {
      chomp $record;   #remove // from end of line
      #... process the record ...
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-20 16:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found