I'm in between you two (is ambivalence a problem for me? Maybe...). I'll end up using the plural and singular so I can say for my $host ( @hosts ) { code }, but I think using the exact same name could be confusing. Admittedly anyone who knows perl will know that $host and $host{key} are compeltely different variables, but why court confusion? Also, if you keep them separate, 'strict' and 'warning' can save you from typos or brainfarts.
--Bob Niederman, http://bob-n.comIn reply to Re: Re: Re: Return from a subroutine generates a negative value
by bobn
in thread Return from a subroutine generates a negative value
by c
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |