On 10/5/06, J. Alejandro Ceballos Z. -JOAL-
<[EMAIL PROTECTED]> wrote:
With the parameters are not problem

(in fact I use the followin code for that - $cgi_this is the CGI object -:
foreach $str_param ($cgi_this->param)
  { print "\n  $str_param: \t" . $cgi_this->param($str_param); } )

I want to make a var dump with the vars existing at some moment of the
code, in order to debug my code. The idea is to implement some function
or piece of code that do that, so just call it at certain point to see
the values of all existing vars at that moment.

Are around 30 vars operating at same moment, some of them only exist in
one block of code and later dissapear. Thats why I planned a var dump.

Data::Dumper like Mumia suggested.
Or Smart::Comments.


> Part of the CGI module:
> 
http://search.cpan.org/~lds/CGI.pm-3.25/CGI.pm#FETCHING_THE_NAMES_OF_ALL_THE_PARAMETERS_PASSED_TO_YOUR_SCRIPT%3A


--
Atentamente,

  ,_,
 (O,O)   J. Alejandro Ceballos Z.      [EMAIL PROTECTED]
 (   )
 -"-"-----------------------------------------------------------------
     http://alejandro.ceballos.info        movil: (33) 3849-8936







--
~Tyler

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to