Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: ranged conditional with variable

by ikegami (Patriarch)
on Aug 22, 2006 at 05:57 UTC ( [id://568775]=note: print w/replies, xml ) Need Help??


in reply to ranged conditional with variable

Furthermore,
foreach (<FILE>) {
reads the whole file into memory, even though you only work on one line at a time. Use
while (<FILE>)
or (while (defined(my $line = <FILE>))) instead.

Log In?
Username:
Password:

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

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

    No recent polls found