in reply to
Perl prints junk before file
Try this (I can gaurantee that the junk characters will disappear):
unlink('2.pl');
[download]
...together with the file...
Comment on
Re: Perl prints junk before file
Download
Code
In Section
Seekers of Perl Wisdom