Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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

by Anonymous Monk
on Mar 22, 2006 at 17:05 UTC ( #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
Node Status?
node history
Node Type: note [id://538543]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2020-11-23 21:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?