placing a web page into a variable

How can I retrieve a url's html code to a variable using perl. ie. give the prog http://experts-exchange.com and it places all the html code from that page into a variable.




LVL 1
stephenbladeAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Kim RyanConnect With a Mentor IT ConsultantCommented:
use LWP::Simple;
$content = get("http://www.experts-exchange.com/";)
 
0
 
ozoCommented:
use LWP::Simple;
$content = get("http://experts-exchange.com");
0
 
ventolinCommented:
wow. exactly the same answers--verbatim!
0
 
stephenbladeAuthor Commented:
Thanks for your help.
0
All Courses

From novice to tech pro — start learning today.