Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Conditional creation of files - global or scoped filehandle

by hippo (Bishop)
on May 06, 2016 at 10:09 UTC ( [id://1162342]=note: print w/replies, xml ) Need Help??


in reply to Conditional creation of files - global or scoped filehandle

Should the filename be declared outside of the loop first?

Yes, that's the obvious approach IMO. (you did mean filehandle there of course)

  • Comment on Re: Conditional creation of files - global or scoped filehandle

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-04-25 23:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found