in reply to References in Perl

Which ones? Cut/paste into <code></code> tags.
rmpath( '/no/such/path', {error => \my $err} );
is the same as
my $err; rmpath( '/no/such/path', {error => \$err} );
does that help?