Keep It Simple, Stupid | |
PerlMonks |
Re: splitting file with mutiple output filenamesby MidLifeXis (Monsignor) |
on Apr 11, 2012 at 12:37 UTC ( [id://964531]=note: print w/replies, xml ) | Need Help?? |
What happens if you get the same value in two different matches? open O, ">$r" or die $!;You may want to open the file in append mode: open O, '>>', $r or die $!; --MidLifeXis
In Section
Seekers of Perl Wisdom
|
|