Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: defining variables using my - subroutines

by kennethk (Abbot)
on Sep 05, 2012 at 17:34 UTC ( #991898=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub add_one {
        my $x = shift;
        $x += 1;
        return $x;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://991898]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2015-09-02 22:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred temperature scale is:










    Results (92 votes), past polls