Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: Watch the value of hash key in perldebug

by LanX (Saint)
on Nov 26, 2020 at 19:14 UTC ( [id://11124268]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Watch the value of hash key in perldebug
in thread Watch the value of hash key in perldebug

Don't you think that's an overkill for the purpose of a watch expression for debugging?

And a simple package Target::Package; directive inside the sub should have a similar effect - if marshalling was the intention - without the need of aliasing.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

Replies are listed 'Best First'.
Re^4: Watch the value of hash key in perldebug
by BillKSmith (Monsignor) on Nov 26, 2020 at 22:15 UTC
    I have coded my understanding of the original program, using a package to simulate one of the modules. My only contribution was to 'export' the hash with a symbol table assignment. Had I used a true module, I could have used the normal export mechanism. I did not think of that. This simulation was not able to duplicate the debug problem. Perhaps frogsausage can use this as start to demo that problem.
    Bill
      Ok now I understand, thanks for the effort. :)

      But I doubt that the OP will help us clarify his problem, he's been here several times again without giving further feedback.

      And I have no clue where Devel::Symdump comes into the picture, it's not a part of standard perldebug.

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      Wikisyntax for the Monastery

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11124268]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (7)
As of 2024-03-28 11:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found