in reply to Re: The trouble with Perl Idiomin thread The trouble with Perl Idiom
sub getRef { my $self = shift; $_ and ref $_ and $_ = $self->getNodeById($_) for @_; ref shift; } [download]