No such thing as a small change | |
PerlMonks |
Re: Limited Number of User Inputby vinoth.ree (Monsignor) |
on Mar 22, 2013 at 04:52 UTC ( [id://1024874]=note: print w/replies, xml ) | Need Help?? |
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
|
|