Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: About the use of the plural form for the name of variables

by wirito (Acolyte)
on Nov 08, 2012 at 13:57 UTC ( #1002900=note: print w/replies, xml ) Need Help??


in reply to About the use of the plural form for the name of variables

I like to use the plurals for arrays when it refers to a collections of things, because an array can be a single thing:
my @files; my @file1 = qw{ /etc passwd root root 0644 }; my @file2 = qw{ /etc group root root 0644 }; push @files, \@file1, \@file2;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1002900]
help
Chatterbox?
[SuicideJunkie]: email tests, eh? I've gotten dinged for "you can't block this sender as spam, they're internal"
[Corion]: Heh - somebody in our marketing departement thought it was a great idea to use the alerting tool for company-wide outages to announce some new feature ;)

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (15)
As of 2017-05-24 14:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?