Pathologically Eclectic Rubbish Lister | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hi,
Let's keep this oldies but interesting post running. :) PERL has a point in using singular even for arrays. That is the sigil. Saying @persons is superfluous, @ marks it's a list (an array) of something. $car[3] could be read for example as 'Third car in the array' or 'Car number three in the array'. Square brackets will reveal if it's an array if in doubt. Consistency is important. Perlstyle could give some advice also in this matter. Beers, T In reply to Re^2: Plural variable naming (or not?)
by Tuppis
|
|