The problem with autoload is that it can hide misspelled methods. It can be hard to debug a program when you have calls that work, but the end result is different than what you expect.
# Example: $self->callab1e( $value ); #vs. $self->callable( $value ); # Problem is ^. # A transcribed 'one' in place of an L. You # might never notice if your editor uses the # wrong font.
I am not saying you should manually write 50 functions, but you should not blindly use autoload without understanding its short-comings.
In reply to Re: autoload usage
by Herkum
in thread autoload usage
by vinoth.ree
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |