NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
refining the "show" function (Score:1)
sub show(%tree, Traversal $method) {
return unless %tree;
my @actions = (
{ show %tree<RIGHT>, $method },
{ show %tree<LEFT>, $method },
Re: (Score:1)
It's clearly a matter of taste of where you want to end up on the readability/non-repetitiousness scale. :) I simply chose to err on the side of readability this time around.
Re:refining the "show" function (Score:1)
Reply to This
Parent