I need a pointer to what to search for in the following issue, so I may educate myself.
Currently code run in perl 5.8.8 will return the array length ,say given a array ref $a, via $#{@{$a}} . Say @a has 3 elements, the snippet will return 2.
But when I ran the code that does this in perl 5.10.1, it returns -1 for $#{@{$a}}.
Am I going mad, or just insane?
Thank you in advance
Dirko
In reply to Perl 5.10.1 versus 5.8.8 with $#{} by dirko.van.schalkwyk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |