http://qs321.pair.com?node_id=564210


in reply to Re^3: $# -variable?
in thread $# -variable?

I would hope these days that $[ is virtually never used. I can imagine a few places where it may be tempting to use, but none where there are not much better techniques available.

$['s biggest problem is the surprise factor. Non-zero based arrays are not the norm in Perl and using them is likely to make the code obscure and hard to maintain and its bigest weakness is that it provides nothing that cant be done better differently.


DWIM is Perl's answer to Gödel