|
|
| Perl: the Markov chain saw | |
| PerlMonks |
Re: (Golf) Shortest Graph Distanceby MeowChow (Vicar) |
| on May 12, 2001 at 08:28 UTC ( #79911=note: print w/ replies, xml ) | Need Help?? |
|
Here's a recursive strict and -w compliant sub at 94 chars for the related problem of enumerating all possible paths (without cycles) from A to B:
MeowChow s aamecha.s a..a\u$&owag.print
In Section
Meditations
|
|
||||||||||||||||||||