You do raise some good points. I do think the Params::Validate suggestion is the best so far (I always forget about that module), but I do sort of like the idea of a module published which states explicitly that it depends on the can() method properly functioning (meaning that if AUTOLOAD or something similar is being used that can should be overridden). Too often we let ourselves get sloppy and forget little details like that.
Cheers,
Ovid
New address of my CGI Course.
In reply to Re^2: Class capabilities
by Ovid
in thread Class capabilities
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |