Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 lurking in the Monastery: (7)
As of 2015-05-24 20:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (476 votes), past polls