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

Re: Yet another problem with recursive code

by blogan (Monk)
on Nov 10, 2000 at 06:53 UTC ( [id://40885]=note: print w/replies, xml ) Need Help??


in reply to Yet another problem with recursive code

I wrote a subdirectory scanning program. I ran into trouble because I forgot to limit scope on a variable. The way I found it was by printing out my array everytime I went into the subfunction and everytime I came out of it. The hints above will help you with your problem. Hopefully this will help you in the future.
  • Comment on Re: Yet another problem with recursive code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2024-11-11 20:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    chatterbot is...






    Results (39 votes). Check out past polls.