http://www.perlmonks.org?node_id=392325


in reply to Running Perl scripts written on Windows on FreeBSD

Try something like this on the command line: -
perl -e'symlink("/usr/bin/perl","/usr/bin/perl\r")'
you can always remove the symlink by using: -
perl -e'unlink("/usr/bin/perl\r")'
Good luck!

Replies are listed 'Best First'.
Re^2: Running Perl scripts written on Windows on FreeBSD
by Anonymous Monk on Sep 20, 2004 at 14:29 UTC
    Absolutely brilliant, you're a genius bsdz!! I’ve even tested this with Linux and other interpreters like Bash and it works like a treat :-)