go ahead... be a heretic | |
PerlMonks |
Re: printing to new output files within a loopby hostyle (Scribe) |
on Dec 20, 2004 at 22:11 UTC ( [id://416336]=note: print w/replies, xml ) | Need Help?? |
Are you sure you didn't mean $_ as opposed to $$ ? $$ Is the pid of your current process which will not change during your loop, hence only one file. $_ is the current default value of your iteration. Or perhaps you meant $i?
In Section
Seekers of Perl Wisdom
|
|