in reply to correct way to use pp -a
Not a solution, but a workaround is to place the content of hello.txt in the code of the script
#!/usr/bin/perl # OS is windows XP perl 5.8.8 build 820 #open FH,"hello.txt" or die "$!\n"; while ( <DATA> ) { print; } __DATA__ one two three four
In Section
Seekers of Perl Wisdom