sub foo { my $param = shift || croak 'Param must be supplied'; } [download]
In reply to Re^5: Stupid mistakes I repeatedly make by Mutant in thread Stupid mistakes I repeatedly make by brian_d_foy