[EMAIL PROTECTED] wrote:
> 
> I need to port some perl5 scripts from UNIX to ActivePerl 5.6 on NT.  The
> scripts are just basic perl, nothing fancy.  Does ActivePerl 5.6 support most
> of the basic perl5 statements?  Can the scripts still use
> the /usr/local/bin/perl in their header ?

All of the core functions should be close/identical.  What you need to look out for
is shell-outs (system, `bacticks`, open with shell args, etc).  You can leave the 
shebang line as is if you aren't using a UNIX style shell - if you are, you 
can prefix 'perl' to the script name (eg: perl script.pl) which will ignore 
the perl path in the shebang line and/or you can install Perl (or a partial copy) 
in /usr/local/bin on windoze (eg: for your webserver to access).

Watch out for differences in fork, sockets/select, etc.

-- 
  ,-/-  __      _  _         $Bill Luebkert   ICQ=14439852
 (_/   /  )    // //       DBE Collectibles   Mailto:[EMAIL PROTECTED] 
  / ) /--<  o // //      http://dbecoll.tripod.com/ (Free site for Perl)
-/-' /___/_<_</_</_     Castle of Medieval Myth & Magic http://www.todbe.com/
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to