Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Running Perl scripts written on Windows on FreeBSD

by bsdz (Friar)
on Sep 20, 2004 at 11:08 UTC ( #392325=note: print w/replies, xml ) Need Help??


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 :-)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://392325]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (2)
As of 2018-07-19 06:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (404 votes). Check out past polls.

    Notices?