Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: subroutine function

by blue_cowdawg (Monsignor)
on Oct 11, 2012 at 19:07 UTC ( #998517=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $thing = "Coca" . "Cola";
    
  2. or download this
    my ($left,$right)=@_;
    
  3. or download this
    my $left=$_[0];
    my $right=$_[1];
    
  4. or download this
    my $left = shift @_;
    my $right = shift @_;
    
  5. or download this
    #
    # NEVER ASSUME!!!
    ...
    my $left = pop @_;
    #
    # You may not get the result you are after!!
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://998517]
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: (7)
As of 2014-09-22 00:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (176 votes), past polls