Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Recursion problem

by clemburg (Curate)
on Jul 27, 2001 at 16:56 UTC ( [id://100285]=note: print w/replies, xml ) Need Help??


in reply to Recursion problem

The declaration my ($node, $all) = @_; in traverse() does shadow your global variable $all defined in my $all; above. That could be part of the problem.

Update: No, it's not the problem. You use the global $all for the value and the local $all for a reference to this. I think ChemBoy found your problem.

Christian Lemburg
Brainbench MVP for Perl
http://www.brainbench.com

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2024-04-16 20:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found