Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Re: sub and anonymous sub

by Gerbil (Initiate)
on Jun 21, 2002 at 22:39 UTC ( #176420=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub recurse {
        my ($depth) = @_;
        print +("   .") x $depth . "current depth:$depth\n" ;
    ...
    }
    
    recurse(-1);
    
  2. or download this
    recurse(0);

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2014-09-21 07:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (167 votes), past polls