["Vadim V. Zhytnikov" <vvzhy at mail.ru>, Mon, 04 Dec 2006 17:41:20 +0300]:
> We can't rely on perl --version or something similar instead we
> writes small Perl which tells us about perl version in the format we
> can understand.
See `man perlvar`.
Maybe you should try something like
perl -e 'print "$]\n";'
Or even
perl -e 'print ( $] >= 5.8 ? "ok\n" : "bad\n" );'
Albert.