|Perl Monk, Perl Meditation|
new keyword "size" to avoid scalar trap ? ( scalar @array != scalar(LIST) )by LanX (Abbot)
|on Dec 07, 2012 at 16:40 UTC||Need Help??|
PS: I tried to provide an example implementation of size, something like
but was to lazy to fiddle around with prototypes.
Anyway IMHO a reliable implementation will need more parsing magic than prototypes can bring to avoid disambiguation.
¹) or whatever