Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re^2: Checking contents of fetched URL.

by ajay.awachar (Acolyte)
on Jan 29, 2010 at 23:43 UTC ( #820429=note: print w/replies, xml ) Need Help??

in reply to Re: Checking contents of fetched URL.
in thread Checking contents of fetched URL.

I got your point on interpolation problem with $res->content. But even after replacing it with

 print "\nResponse = ", $res->content, " \n";

I am still not getting the exact contents. I'm not getting any output for $res->content. I even tried  print "Response =  ".$res->as_string(); but it gives me some errors regarding unavailability of HTML/ Any idea on this.


Replies are listed 'Best First'.
Re^3: Checking contents of fetched URL.
by Anonymous Monk on Jan 30, 2010 at 16:18 UTC

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://820429]
[ambrus]: And I don't much like syntax highlighters. If you need a syntax highlighter to understand your code, then your code is written unclear.
[ambrus]: And if you need a syntax highlighter to color parenthesis green and numbers black and letters blue, then you're using the wrong font.
[ambrus]: I have to tolerate syntax highlighters when other people use them, but I don't use them myself. And sorry for the rant.
[GotToBTru]: I appreciate the ability to highlight matching brackets/ parentheses/ braces, both for my own code and the inconsistently indented code of others
[Corion]: I like editors that automatically highlight the matching parenthesis (like % in vi), but that's roughly the extent to which I like editor support ;)
[GotToBTru]: same here Corion.
[Corion]: I tried for a short time (well, 8 hours now) to get Perl::Tidy set up but then found that it doesn't support (new-style) signatures and then stopped again ;))

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (12)
As of 2017-02-27 12:47 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (385 votes). Check out past polls.