Hi All,
did anyone else ever try to use the 'minus bareword' options combined
with 'use integer'?
Please try the following:
use integer;
use strict;
my %a = ( -parm => 'value', -func => 'function');
which on my version of perl5.001m gives (with '-w'):
Argument "parm" isn't numeric for integer negate at a.pl line 4.
Argument "func" isn't numeric for integer negate at a.pl line 4.
Slightly weird, especially with pTk...
Hildo Biersma
did anyone else ever try to use the 'minus bareword' options combined
with 'use integer'?
Please try the following:
use integer;
use strict;
my %a = ( -parm => 'value', -func => 'function');
which on my version of perl5.001m gives (with '-w'):
Argument "parm" isn't numeric for integer negate at a.pl line 4.
Argument "func" isn't numeric for integer negate at a.pl line 4.
Slightly weird, especially with pTk...
Hildo Biersma