Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: GP problem with tree structure using hash

by tilly (Archbishop)
on Oct 12, 2004 at 06:37 UTC ( #398382=note: print w/replies, xml ) Need Help??


in reply to GP problem with tree structure using hash

In addition to the bug that kvale pointed out, you need to make deep copies in the reproduction step. A shallow copy (like you're making) means that when you modify one copy you also modify the other.
  • Comment on Re: GP problem with tree structure using hash

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2023-02-06 13:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (34 votes). Check out past polls.

    Notices?