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

Re^2: Trying to do multiple while loops on the same input file

by elef (Friar)
on Jun 01, 2011 at 17:13 UTC ( #907666=note: print w/ replies, xml ) Need Help??


in reply to Re: Trying to do multiple while loops on the same input file
in thread Trying to do multiple while loops on the same input file

Good suggestion. In this particular case, I just moved the open and close commands inside the loop, but in other situations, reading the file into an array would make more sense.


Comment on Re^2: Trying to do multiple while loops on the same input file

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2015-07-28 02:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (251 votes), past polls