Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Is there some way to set this up such that values of $rc & $i are printed out? Thanks.use Data::Dumper; # enable monitoring my $rc = foo(1, 2, 3); # disable monitoring sub foo { my ($one, $two, $three) = @_; my ($i, $j); # manipulate $i & $j... return $j; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: using Data::Dumper to monitor methods?
by saintmike (Vicar) on Mar 01, 2005 at 01:14 UTC | |
|
Re: using Data::Dumper to monitor methods?
by Anonymous Monk on Mar 01, 2005 at 00:57 UTC | |
by Tanktalus (Canon) on Mar 01, 2005 at 01:01 UTC |