Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

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

by grondilu (Pilgrim)
on Nov 08, 2012 at 11:53 UTC ( #1002881=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @friend = qw(john steve carl);
    for my $friend (@friend) {
        say "Hello, $friend!";
    }
    
  2. or download this
    my @friends = qw(john steve carl);
    for my $friend (@friends) {
        say "Hello, $friend!";
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1002881]
Front-paged by Arunbear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (23)
As of 2014-07-22 14:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (116 votes), past polls