Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

(jeffa) Re: Closures as Itterators

by jeffa (Bishop)
on Jun 30, 2001 at 19:50 UTC ( [id://92922]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $fh = IO::File->($datafile) or die;
    
    #instead of - and you don't need the quotes either
    my $fh = new IO::File "$datafile";
    
  2. or download this
    while (<$fh>) {
        chomp;
        # use $_ instead of $row
        # etc . . .
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (2)
As of 2024-04-16 16:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found