Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: nested <FILE> read returns undefined?

by rjray (Chaplain)
on Mar 31, 2006 at 07:03 UTC ( #540395=note: print w/replies, xml ) Need Help??


in reply to Re^2: nested <FILE> read returns undefined?
in thread nested <FILE> read returns undefined?

It's not a matter of for reading the whole file or not. The for expression has a list-context within the parens, and in a list context <> reads the entire file.

--rjray

  • Comment on Re^3: nested <FILE> read returns undefined?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2022-05-25 04:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (84 votes). Check out past polls.

    Notices?