Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Opening and closing files in loop

by BrowserUk (Pope)
on Oct 22, 2012 at 08:30 UTC ( #1000289=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        for ($i=1;$i<=$max;$i++){ 
           
    ...
             print qq("$dept$w$i"\t>\t"$pwd"\n);
    
         }
    
  2. or download this
        for ($i=1;$i<=$max;$i++){ 
           
    ...
             print newDB qq("$dept$w$i"\t>\t"$pwd"\n);
    
         }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1000289]
help
Chatterbox?
[LanX]: interesting... a friedn of mine has the familyname "Hell" - I susally call her Hell Girl

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2017-12-12 16:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (335 votes). Check out past polls.

    Notices?