bovlb has asked for the wisdom of the Perl Monks concerning the following question:
Hello. I'm trying to use the Safe module.
The problem I'm having is that, if the code calls an undefined subroutine, no error is reported if one of the parameters is a call to a Safe::Hole wrapper.
For example:
# "foo" is undefined # "bar" is a Safe::Hole wrapper foo(bar()); # no errors reported - not expected behavior foo(); # Undefined subroutine reported as expected
Any suggestions?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Safe module and undefined subroutines
by thanos1983 (Parson) on Aug 25, 2017 at 09:46 UTC | |
by 1nickt (Canon) on Aug 25, 2017 at 12:20 UTC | |
by thanos1983 (Parson) on Aug 25, 2017 at 13:25 UTC | |
by 1nickt (Canon) on Aug 25, 2017 at 15:05 UTC | |
|
Re: Safe module and undefined subroutines
by Anonymous Monk on Aug 24, 2017 at 22:00 UTC | |
|
Re: Safe module and undefined subroutines
by locked_user sundialsvc4 (Abbot) on Aug 25, 2017 at 01:22 UTC | |
by thanos1983 (Parson) on Aug 25, 2017 at 09:24 UTC | |
by syphilis (Archbishop) on Aug 25, 2017 at 10:10 UTC | |
by stevieb (Canon) on Aug 25, 2017 at 21:53 UTC | |
|
Re: Safe module and undefined subroutines
by bovlb (Initiate) on Aug 31, 2017 at 17:00 UTC |