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 reply to Re: printing to new output files within a loop
by hostyle
in thread printing to new output files within a loop
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |