"John W. Krahn" <jwkr...@shaw.ca> writes: >> #!/usr/local/bin/perl >> >> use strict; >> use warnings; > > Could it be that your editor is putting a BOM as the first two > characters of your program?
It never has before but if so would that show up using the `l' (ell) operator in sed? Or could a BOM sneak right by? At any rate, I'm using vim and no other perl scripts have been displaying anything like the output I posted. head -1 texif #!/usr/local/bin/perl sed -n '1l' texif #!/usr/local/bin/perl$ ls -l /usr/local/bin/perl -rwxr-xr-x 1 reader nfsu 1471280 Feb 11 22:23 /usr/local/bin/perl perl --version |sed -n 2p This is perl 5, version 14, subversion 2 (v5.14.2) built for i486-linux-gnu-thread-multi-64int -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/