[NTLUG:Discuss] Re: portable perl question...

Shane Allen shane at tacni.net
Thu Jun 7 00:14:10 CDT 2001


From: MadHat <madhat at unspecific.com>
>Aslo, the difference in / and \.  Remember to use a \ you have to use it 
>twice \\ to make sure it is escaped (perl sees \ as an escape character 
>for what ever come next, so \n is newline and \c is control, \t is tab, 
>etc...), but don't let people lie to you, the / has worked fine on all 
>versions of Perl I have used on Win32 (being versions of ActivePerl and 
>Cygwin Perl).  Test it and find out for yourself.
>
>There are other differences, like some modules not being portable, but 
>there are too many details to list.  These are the 2 items I have had bite 
>me in the ass, so here they are.

One more thing that has made some of my code difficult to port: windows
Perl distros that I've seen have no support for signals...

This only affects porting code to windows platforms, so it may be a
non-issue for you. The one time I had the problem, I promptly decided to
scrap the thought of porting it. :)

--
Shane Allen <shane at tacni.net>



More information about the Discuss mailing list