in reply to Limited Number of User Input
As you prompted the user the number of file names to combine, then you need to get the filename from the user by entering the filename line by line, not space separated filenames!
If you get the filenames in a single line separated by space, <STDIN> reads whole content till you press the enter key.
All is well
|
---|
In Section
Seekers of Perl Wisdom