- or download this
package Outside::In;
use strict;
...
'old' => sub { $oldnode1->get_parent },
'new' => sub { $newnode1->get_parent }
});
- or download this
Rate old new
old 477555/s -- -34%
new 723066/s 51% --
- or download this
sub get_parent {
return $_[0]->{'PARENT'};
}
- or download this
sub get_parent {
return $parent[${$_[0]}];
}