in reply to Re^2: Multiple perl interpreters and Module::Runtime (-d)
in thread Multiple perl interpreters and Module::Runtime
... When I tried to feed the debugger with this:*{"$callpkg\::$_"} = \&{"$pkg\::$_"} foreach @_;&{"$pkg\::$_"}
\&... would never do what &... does. \&... takes a reference to a subroutine while &... invokes a subroutine. So what &{"$pkg\::$_"} does is rather irrelevant. It is indeed unfortunate that Params::Classify::is_string() stupidly produces an endless recursive loop when not given any parameters. But that likely has nothing to do with your original problem.
The author of that module even included:
sub is_string($);
Which makes it fatal to call is_string() with no arguments... unless you use the prefix & to disable sub prototype checking, as you did. So even a bug report against the module might not yield anything.
It is crashing in the module Exporter, line 64:
How does it crash?
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Multiple perl interpreters and Module::Runtime (&)
by daneus (Initiate) on Feb 08, 2011 at 09:43 UTC | |
by tye (Sage) on Feb 08, 2011 at 15:02 UTC | |
by Anonymous Monk on Nov 28, 2011 at 12:40 UTC | |
by daneus (Initiate) on Feb 09, 2011 at 08:31 UTC |