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

Re^5: traversing a hash looking for path?

by Limbic~Region (Chancellor)
on Apr 13, 2006 at 23:50 UTC ( #543256=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use constant SRC  => 0;
    use constant TGT  => 1;
    ...
            push @{$_[WORK]}, {key => $_, path => "$src=>$_"};
        }
    }
    
  2. or download this
    sub find_path {
        my ($beg, $end, $net, $seen, $stop, $work) = @_;
    ...
        return find_path($beg, $end, $net, $seen, $stop, $next) if @$next;
        return 'path not found';
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2022-01-17 06:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (51 votes). Check out past polls.

    Notices?