On Mon, 22 Mar 2004 14:05:18 -0800 (PST), Mike Ni wrote: > At this point, I asked the debugger to dump "$cgi" > by doing "print $cgi". Instead of dumpping the > structure, it only say: > > "CGI::Base=HASH(0x8294800)" You might want to type 'h x' in the debugger to find out what 'x' can do for you.
While 'print' will just print the variable as the normal Perl print would have done (I.e. variable type and memory position), 'x' will dump the variable structure and all it's values onto the screen. If you want a slightly better function include Data::Dumper into your program and use 'print Dumper ($var);'. /oliver/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>
