Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Jumping out of a partially read file

by perlplexer (Hermit)
on May 09, 2002 at 20:00 UTC ( [id://165484]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    local $/ = "HEADER END\n"; # set input record separator
    while ($file = <*.las>) {
    ...
        close(FILE);
        # process $header here
    }
    
  2. or download this
    my $maxHeader = 50;
    OUTER:
    ...
        close FILE;
        # process $header here
    }
    

Log In?
Username:
Password:

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

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

    No recent polls found