Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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?
[choroba]: my best run so far
[erix]: I think they build a portaging installation for yachts here not so long ago - lemme google it
[erix]: choroba ah, you should have sprinted 7 s off that :)
[erix]: (but then there's always a next (im)possible goal)
Corion avoids running by starting on time
[choroba]: my phone showed me 1 hour 10 km which was my goal, it changed a bit after uploading to the website
[erix]: choroba I believe you ;)

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (1)
As of 2017-05-24 12:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?