in reply to Re^4: Making it clearer to say that a sub is defined within current package
in thread Making it clearer to say that a sub is defined within current package
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Making it clearer to say that a sub is defined within current package
by LanX (Saint) on Apr 11, 2019 at 16:02 UTC | |
by Eily (Monsignor) on Apr 11, 2019 at 16:08 UTC | |
by LanX (Saint) on Apr 11, 2019 at 16:13 UTC |