does what you think it does...my %graph = <FILE>
I think that will get you a "%graph" hash with the first line as a key, the 2nd line as a value, and so on so forth...
Try adding this right after you load %graph and see what it prints:
foreach my $k(keys %graph) { print "<<<<<\n$k ===>>>> $graph{$k}\n>>>>>\n" }
In reply to Re: Paths::Graph use
by RMGir
in thread Paths::Graph use
by zakishah
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |