Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: it should be simple enough...

by ELISHEVA (Prior)
on Feb 20, 2011 at 10:31 UTC ( #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
Node Status?
node history
Node Type: note [id://889170]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2021-04-23 16:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?