in reply to Re: Re: Pass on name of array
in thread Pass on name of array
Please don't add the extra scalar. It confuses your maintainer, unless you comment it asfor ($br = 0; $br <= scalar(@$array); $br++)
So I would fail it out of a code review without that comment.# we don't need scalar here... it's for the dummies who can't grok sca +lar context yet
If someone doesn't understand that <= provides scalar context, they have no business editing my code.
-- Randal L. Schwartz, Perl hacker
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re (tilly) 4: Pass on name of array
by tilly (Archbishop) on Apr 06, 2001 at 12:29 UTC |