Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: file merge problemby injunjoel (Priest) |
on Dec 09, 2005 at 22:41 UTC ( [id://515667]=note: print w/replies, xml ) | Need Help?? |
Greetings, Just a thought. This assumes your input filenames match the pattern "F*.dat" for the glob to work on. Updates Thanks jdporter for the lower map suggestion. Much cleaner. Way better than the if(open (IN, $_)){#stuff} I was using. BTW: we are Monks not Mongers :} -InjunJoel
"I do not feel obliged to believe that the same God who endowed us with sense, reason and intellect has intended us to forego their use." -Galileo
In Section
Seekers of Perl Wisdom
|
|