Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Get HTML source code

by ickyb0d (Monk)
on Nov 04, 2005 at 11:58 UTC ( [id://505780]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Get HTML source code

for each print statement you could just create another print statement that prints to a file appends the string to a variable. That should give you all the HTML data that is printed by your cgi script.

you could also visit your own webpage using something like WWW::Mechanize and just print out the content from that. But that would probably have to be within another script, and not your cgi page.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://505780]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.