in reply to
How to enter a filename in each line
In addition to the suggestions moritz gave, it would be useful to know where the filenames come from, and what kind of format they're in before you need to print them.
Comment on
Re: How to enter a filename in each line
In Section
Seekers of Perl Wisdom