Do you know where your variables are? | |
PerlMonks |
Re: Multiple csv file rendering by PERL using single file open handle?by CountZero (Bishop) |
on Dec 21, 2013 at 12:09 UTC ( [id://1068029]=note: print w/replies, xml ) | Need Help?? |
You can (re-)use the same filehandle but you will have to close and re-open it for each next file That being said, your code has some problems (I will mention a few, there may be more):
CountZero A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James My blog: Imperial Deltronics
In Section
Seekers of Perl Wisdom
|
|