in reply to Re: Checking Perl version
in thread Checking Perl version

thanks. This:
if ($] < 5.006001) { die "You don't have a current version of Perl"; }
didnt work for me for some reason. I checked perldocs and it seems this is the way to do it but for some reason it doesnt check my perl version.

Replies are listed 'Best First'.
Re: Re: Re: Checking Perl version
by talexb (Chancellor) on Jul 08, 2003 at 15:35 UTC

    What does perl -v show? That should tell you what's going on.

    --t. alex
    Life is short: get busy!