Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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?
[toolic]: what does your input look like?

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (11)
As of 2017-02-23 19:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (351 votes). Check out past polls.