in reply to ActivePerl vs Perl on UNIX

Maybe you could give an example of the kinds of errors that you are seeing so that we could give a little more help. There are very few differences between Perl running on differnet platforms... of course, using the Win32 modules will only work on Windows.

--
<http://www.dave.org.uk>

European Perl Conference - Sept 22/24 2000, ICA, London
<http://www.yapc.org/Europe/>

Replies are listed 'Best First'.
(jcwren) RE: Re: ActivePerl vs Perl on UNIX
by jcwren (Prior) on Jul 13, 2000 at 19:11 UTC
    You can check which version of perl is installed with
    perl -v
    The ISP I use has both versions installed. Perl4 is in '/usr/bin', and Perl5 is in '/usr/local/bin'. Both are simply named 'perl', so the -v option is the only way to distinguish them.

    You might try the following command to hunt for any versions of perl that are installed (results not garanteed)
    find /usr -name perl -print
    Hope this helps.

    --Chris

    e-mail jcwren
RE: Re: ActivePerl vs Perl on UNIX
by Anonymous Monk on Jul 13, 2000 at 19:00 UTC
    yes yes the main problem I have dealt with is "chomp". This command works on ActivePerl but it doesn't work when I ran it under UNIX. Here's my command line: chomp $current; The following is the error msg I have epxerienced when I run it under Unix: syntax error in file readmail.pl at line 185, next 2 tokens "chomp $current" /.*?boundary=/: nested *?+ in regexp at readmail.pl line 239. can anyone interpret it for me please? many thanks in advance.

      Your Unix server has a very old version of Perl. Probably version 4.036 or something around that. Try to get it upgraded to something that isn't six years out of date!

      --
      <http://www.dave.org.uk>

      European Perl Conference - Sept 22/24 2000, ICA, London
      <http://www.yapc.org/Europe/>