Next | Program Repair Shop | 11 |
Long ago, I got the idea that the $#array notation might be a red flag
I did a study to figure this out
http://perl.plover.com/yak/flags/dollar-pound/
My conclusion: It's not wrong often enough to qualify
But there are several common uses of $#array you should avoid
This is one:
269 die $usage if ($#ARGV < 0);
Next | ![]() |
Copyright © 2006 M. J. Dominus |