|Pathologically Eclectic Rubbish Lister|
Can a filehandle name be dynamic?by piyush (Novice)
|on Sep 24, 2009 at 11:52 UTC||Need Help??|
piyush has asked for the
wisdom of the Perl Monks concerning the following question:
Hi ...m facing a scenario wherein I want to open a file with a filehandle name that is dynamic:
- open(FILEHANDLE$i, ">>$filename");
where $i is a counter variable.
Is such a thing possible? ..
Thanks in advance....