pjkang7 has asked for the wisdom of the Perl Monks concerning the following question:
Hi all, So, I'm pretty sure this is an issue (or just process of) with perl ptkdb debugger tool that I use, I wanted to see if anyone has experienced similar issue. The error message I get is like this: ptkdb - >>> exception catched Not a SCALAR reference at (eval 49) line 4.
and I believe this occurs from the following line of code
my %hash = (); my $h_ref = \%hash; if(exists $$h_ref{'try'}) {
I'm pretty sure my dereferencing of the hash reference is correct, and I think it's simply something catched by the ptkdb tool (happens when I do step by step using the tool). The script actually executes correctly without an error if run normally. I just wanted to see if perlmonks knew of this issue (if anyone uses ptkdb) and that I can safely simply ignore this. Thank you!! Happy Thanksgiving!!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: PTKDB - exception catched Not a SCALAR reference
by stevieb (Canon) on Nov 24, 2015 at 17:22 UTC | |
by choroba (Cardinal) on Nov 24, 2015 at 17:28 UTC | |
by stevieb (Canon) on Nov 24, 2015 at 17:41 UTC | |
by pjkang7 (Novice) on Nov 24, 2015 at 17:47 UTC |