I tried that, and I get:
Can't locate object method "headers" via package "LWP::UserAgent" at.. +.
I also tried:
and I got:for my $header (@{$response->headers->header_field_names}) { print $header, ": ", $response->header($header), "\n"; }
Can't use string ("29") as an ARRAY ref while "strict refs" in use at. +..
In reply to Re^4: libwww-perl basics
by Anonymous Monk
in thread libwww-perl basics
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |