note
Hofmator
<blockquote><code>sub excise_arg {
my $args = shift;
my $arg_name = shift;
if (exists $args{$arg_name}) {
return delete $args{$arg_name};
}
[...]
</code></blockquote>
<p>Shouldn't that be
<code>if (exists $args->{$arg_name}) {
return delete $args->{$arg_name};
}
</code>
as you are passing a hashreference into your function?</p>
<p>Apart from that detail I really like this way :)</p>
<P>-- Hofmator</P>
120181
120259