in reply to Re: 2Re: Improvement on script needed.
in thread Improvement on script needed.
You shouldn't read DATA inside the while loop.
In the first iteration of the while loop,
sucks up what's left in DATA and the loop terminates.my @files = (<DATA>);
In Section
Seekers of Perl Wisdom