in reply to Dereference of undefined value OK under strictures?
I tried -MO=Deparse and -d options, passing them through system function however these did not provide any deeper understanding from my standpoint.
I maybe need to try passing some -D flags.
I've recently begun using padre with strawberry perl, and I am informed to Recompile perl with -DDEBUGING to use -D switch.
update: -Mdiagnostics=-verbose with debugger steps through some functions in the diagnostics module, such as diagnostics::death_trap and then splain's the error as:
Can't use an undefined value as an ARRAY reference at -e line 2 (#1) (F) A value used as either a hard reference or a symbolic reference must be a defined value. This helps to delurk some insidious errors. Uncaught exception from user code: Can't use an undefined value as an ARRAY reference at -e line 2. at -e line 2
But this doesn't necessarily get to the l-value derivation of the issue. Also the -traceonly option only prints the uncaught exception part without the useful diagnostic provided pre-amble.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Dereference of undefined value OK under strictures?
by LanX (Saint) on Jun 30, 2019 at 00:46 UTC | |
by Don Coyote (Hermit) on Jun 30, 2019 at 12:51 UTC | |
by LanX (Saint) on Jun 30, 2019 at 13:07 UTC |