Todd Chester has asked for the wisdom of the Perl Monks concerning the following question:
Hi All,
I am confused as to how to use data dumper. In the following code, how would I use it to see the data and the structure of $ua and $res?
my $ua; my $res; $ua = LWP::UserAgent->new; $ua->timeout ( MaxTime1 ); $ua->show_progress; $ua->requests_redirectable ([]); $res = $ua->get($Url);
Also a point of confusion: is
$ua->show_progressthe same thing as
$$ua{show_progress}
?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: data dumper question
by LanX (Saint) on Sep 13, 2016 at 01:47 UTC | |
by Todd Chester (Scribe) on Sep 13, 2016 at 01:58 UTC | |
by Todd Chester (Scribe) on Sep 13, 2016 at 01:55 UTC | |
by AnomalousMonk (Archbishop) on Sep 13, 2016 at 02:31 UTC | |
by Marshall (Canon) on Sep 13, 2016 at 04:30 UTC | |
|
Re: data dumper question
by Anonymous Monk on Sep 13, 2016 at 01:39 UTC |