[Wellington-pm] That graph walker, working this time.
Sam Vilain
sam at vilain.net
Mon Dec 12 14:00:47 PST 2005
Two versions; one that uses callbacks, and one that is the same function
converted to an iterator.
I cheated, though. I used Coro::Cont, because it made it just too
easy :-). Bear in mind some scary magic is happening behind the scenes.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-callback.pl
Type: application/x-perl
Size: 950 bytes
Desc: not available
Url : http://mail.pm.org/pipermail/wellington-pm/attachments/20051212/3fb5d92c/test-callback.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-coro.pl
Type: application/x-perl
Size: 1011 bytes
Desc: not available
Url : http://mail.pm.org/pipermail/wellington-pm/attachments/20051212/3fb5d92c/test-coro.bin
More information about the Wellington-pm
mailing list