On Mon, 2006-12-04 at 21:54 +0100, Albert Reiner wrote:
> Maybe you should try something like
> perl -e 'print "$]\n";'
in my system, Ubuntu with perl 5.8.7 installed, this gives:
5.008007
which means that
> Or even
> perl -e 'print ( $] >= 5.8 ? "ok\n" : "bad\n" );'
will return "bad"
perhaps
perl -e 'print ( $] >= 5.008 ? "ok\n" : "bad\n" );'
?
but I'm not sure that will work in other systems.
Jaime