Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Delivering "portable" code between POSIX and Windows

by mandog (Curate)
on May 11, 2003 at 18:14 UTC ( [id://257254]=note: print w/replies, xml ) Need Help??


in reply to Delivering "portable" code between POSIX and Windows

This is a tiny thing but, if you expect to move code back and forth between UNIX and Windows append a space at the end of the shbang line

"/usr/bin/perl -wT\r\n"

...is not valid Perl on UNIX

"/usr/bin/perl -wT \r\n"

...works just fine on both platforms.

Alternatively, you can explain to people how to turn on ASCII mode in their ftp client



email: mandog

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://257254]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2024-04-26 07:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found