Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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: (7)
As of 2014-08-22 09:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (152 votes), past polls