in reply to Checking contents of fetched URL.
The presence of ->content in your output should have given you a hint. The term $res->content does not get interpolated, only $res does.
You want: print "\nResponse = ", $res->content, " \n"; just as you did in the two lines above.
holli
You can lead your users to water, but alas, you cannot drown them.
You want: print "\nResponse = ", $res->content, " \n"; just as you did in the two lines above.
holli
You can lead your users to water, but alas, you cannot drown them.
In Section
Seekers of Perl Wisdom