There's a lot of code out there that presumes that nothing can detect the difference between method and subroutine calls. This is deliberate, and is thus a feature, not a bug.Thus the resulting mess in CGI.pm for example, trying to distinguish between method and function, is by design? Jeezes.
In reply to Re^2: Detecting function vs method in an AUTOLOAD?
by bart
in thread Detecting function vs method in an AUTOLOAD?
by tilly
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |