in reply to Re^5: Dumping variables but DRY and simple
in thread Dumping variables but DRY and simple

There are more options:
Furthermore, when called from within the DB package, caller returns more detailed information: it sets the list variable @DB::args to be the arguments with which the subroutine was invoked.

Whatever this practically means... anyway I need the dumping for debugging and as rubasov said any keystroke saved is a bless while debugging.

OR

I could pass only the variable _names_ and use PadWalker and Stash to get the references/values in caller's context.

But as stated in the OP I don't wanna reinvent the wheel...

Cheers Rolf

  • Comment on Re^6: Dumping variables but DRY and simple