Checking caller and dying when the function does not exist in the caller package wouldn't be much different than dying when calling an undefined function with the package prefix.
The main problem is that calling local functions as my::something() makes strict's job harder.
In reply to Re^5: Making it clearer to say that a sub is defined within current package
by Eily
in thread Making it clearer to say that a sub is defined within current package
by bliako
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |