To get highest index number on an array you use:
$#array
Doing this on an arrayref:
$#{arrayref}
I get a warning "$# is no longer supported". The program does continue.
Apparently $# and $* were deprecated in regular expression context and that
error message exactly is documented in CPAN.
Seems like a bug in Perl (5.10.0), but perhaps I could be doing something to
make Perl believe I'm trying to use the deprecated $# regular expression
variable.
Any ideas on how I can remove the ambiguity and the warning?
Thanks,
Dave
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/