Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: how to construct tree from parent pointer list

by Anonymous Monk
on Mar 22, 2006 at 17:05 UTC ( [id://538543]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Graph::Easy;
    my $graph = Graph::Easy->new();
    ...
    
    # print the graph
    print $graph->as_asciii();
    
  2. or download this
    # save the graph by saving the list of original nodes
    open($filehandle,"<","nodes.dat") or die("Can't open file 'nodes.dat' 
    +for writing: $!\n");
    print $filehandle join("\n",@nodes);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-04-20 00:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found