Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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;


Comment on Re: About the use of the plural form for the name of variables
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2015-07-29 04:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (260 votes), past polls