Hi,
On 20 September 2011 16:50, Uri Guttman wrote:
> >>>>> "DJ" == David Jacopille writes:
>
> DJ> I get a warning "$# is no longer supported". The program does
> DJ> continue.
>
> DJ> Apparently $# and $* were deprecated in re
ariable
DJ> I get a warning "$# is no longer supported". The program does
DJ> continue.
DJ> Apparently $# and $* were deprecated in regular expression context
DJ> and that error message exactly is documented in CPAN.
these work fine:
perl -lwe '$x = [1,2]; pr
On 11-09-20 11:38 AM, David Jacopille wrote:
To get highest index number on an array you use:
$#array
Doing this on an arrayref:
$#{arrayref}
Try:
$#{$arrayref}
I get a warning "$# is no longer supported". The program does continue.
Apparently $# a
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