Re: Variable dump



On Jul 29, 10:29 am, anno4...@xxxxxxxxxxxxxxxxxxxxxx wrote:
Bill H <b...@xxxxxxxxx> wrote in comp.lang.perl.misc:

Is there a way in perl to dump all the variables used and their
current values to a file without printing everyone of them
individually?

Not easily. You'd have a chance with package variables. For
lexicals you'd need something like PadWalker, which is a bit
tricky to use.

Most people settle for printing selected values at selected
places for debugging. The module Data::Dumper helps with
viewing complex data structures.


That was what I thought I would need to do, but since perl has so much
in it I thought maybe it would do this too.

Bill H

.



Relevant Pages

  • Re: Publisher 2002 SP3 colors prints in greyscale only
    ... Bill, I have read almost every document HP has concerning your issue. ... Open the printers folder, right-click the printer, click "printing preferences." ... > the other 3 users I have, provided I print the publication in one of those ... What is annoying is that I cannot tell Publisher that I want to ...
    (microsoft.public.publisher)
  • Re: Did Pavarotti make visits to Dr. Fuentes?
    ... Bill C wrote: ... this phantom connection to the media for maximum smear effect. ... Hey asshole they'd have to prove the newspapers etc. were ... intentionally printing false information to damage them. ...
    (rec.bicycles.racing)
  • Re: IE6 wont open a desktop .url shortcut?
    ... >> Errr, who said anything about printing? ... Calm down, Bill. ... you may need fix few registry keys. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • =?iso-8859-1?B?UmU6IFdoeSBjYW4ndCBJIHByaW50IG15IG93biCjo6Ojo6Oj?=
    ... is printing counterfit money. ... of for one to be printing copies of bills is if one is into bill ... or if one wants to know what currency looks like. ...
    (comp.periphs.printers)
  • Re: Extra Receipt/Confirmation - Like page
    ... Bill, thanks for your help. ... the correction and, once again, enjoy printing without the ... >TAB. ... >> All of a sudden, after printing a Word Document, I get ...
    (microsoft.public.word.docmanagement)