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 ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1002900]
help
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found