We don't bite newbies here... much | |
PerlMonks |
Re^3: What I Most Recently Learned in Perl, But Should Have Already Knownby sfink (Deacon) |
on Aug 18, 2006 at 16:48 UTC ( [id://568217]=note: print w/replies, xml ) | Need Help?? |
I always run into the problem of the default case when I use that -- what if $function isn't a key in %functions? The error message "Undefined subroutine &main:: called" can be very difficult to figure out.
And the straightforward fix isn't all that pretty: But I admit that I still use it. With comments, if there is any chance that someone with a capacity to do me bodily harm might read the code.
In Section
Meditations
|
|