Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Re: Re: Plural variable naming (or not?)

by cjf (Parson)
on Mar 19, 2002 at 20:36 UTC ( [id://152834]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Plural variable naming (or not?)
in thread Plural variable naming (or not?)

Actually, yes, it does :)

It might only appear right to me because I've become accustomed to doing it that way. I do see your point, but I still find plural array names feel more natural than singular ones:

my @reply = qw/a singular array name? how odd/; my $cannotnamethisreply = $reply[5]; print $cannotnamethisreply;

Now that looks stranger to me than using a plural for the array name and a singular for the related scalar. I can understand either view though. :)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://152834]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2024-04-18 18:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found