Has no one else notice that the string sense of $] went away?
I'm not sure I want it back, but we never used to HAVE a string
sense. An ancient-beyond-belief script of mine broke:
$] =~ /(\d+\.\d+).*\nPatch level: (\d+)/;
die "$iam: requires at least perl version 3.0, patchlevel 1 to run correctly\n"
if $1 < 3.0 || ($1 == 3.0 && $2 < 1);
--tom
Tom Christiansen Perl Consultant, Gamer, Hiker tchrist@mox.perl.com
Ken is very smart but also very opinionated. --Doug Gwyn
I'm not sure I want it back, but we never used to HAVE a string
sense. An ancient-beyond-belief script of mine broke:
$] =~ /(\d+\.\d+).*\nPatch level: (\d+)/;
die "$iam: requires at least perl version 3.0, patchlevel 1 to run correctly\n"
if $1 < 3.0 || ($1 == 3.0 && $2 < 1);
--tom
Tom Christiansen Perl Consultant, Gamer, Hiker tchrist@mox.perl.com
Ken is very smart but also very opinionated. --Doug Gwyn