in reply to Paths::Graph use
I don't think
Mike
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" }
Mike
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Paths::Graph use
by zakishah (Novice) on Aug 22, 2012 at 17:44 UTC | |
by RMGir (Prior) on Aug 23, 2012 at 12:12 UTC | |
by afoken (Chancellor) on Aug 24, 2012 at 04:20 UTC |
In Section
Seekers of Perl Wisdom