Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

WWW::Mechanize get($variable)

by jonnyfolk (Vicar)
on Nov 02, 2008 at 10:20 UTC ( #720929=perlquestion: print w/replies, xml ) Need Help??
jonnyfolk has asked for the wisdom of the Perl Monks concerning the following question:

Having picked up the content of a web page in a previous subroutine I would like to do some work on it using Mechanize, however I can't see how to get the contents of the variable: $contains_html into Mechanize. I can easily print a temporary file and use the url to do this, but that seems a clumsy extra step to me.

Any suggestions?

Replies are listed 'Best First'.
Re: WWW::Mechanize get($variable)
by Corion (Pope) on Nov 02, 2008 at 10:50 UTC

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://720929]
Approved by Perlbotics
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2016-10-24 23:01 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (310 votes). Check out past polls.