Thread: Re: XQL Problems

Re: XQL Problems

From
Jim Cromie
Date:
Brad Wiemerslage wrote:

//try to print out what is in the hash


2 best ways of seeing inside data structures in Perl

1) perl -d your-script

  DB<1> b (somewhere)
   DB<2> c
 DB<3> x $somevar

x does a depth-first print of all elements

2) use Data::Dumper  (now standard with 5.005)

iirc

print dump ($somevar)

rtfm to be sure