Help for this page

Select Code to Download


  1. or download this
    sub write_out {
        my $graph = shift;
    ...
        print $out $graph->_dump;
        close $out or die "Could not close output $file: $!\n";
    }
    
  2. or download this
    sub read_in {
        my $file = 'graph.dump';
    ...
        close $in;
        return $Graph;
    }