in reply to References in Perl
rmpath( '/no/such/path', {error => \my $err} ); [download]
my $err; rmpath( '/no/such/path', {error => \$err} ); [download]