in reply to Re^2: Get HTML source code
in thread Get HTML source code

Well, you'd just replace your print lines with
$codeVariable .= qq ~ ~; #whatever was going to be printed goes inside + the quotes
And then at the very end of the script, you'd have:
print $codeVariable;
It's just one extra line added.

Replies are listed 'Best First'.
Re^4: Get HTML source code
by maestro_ba (Initiate) on Nov 04, 2005 at 17:50 UTC
    You're right.
    But I don't want to use that solution because my script takes lots of time running, and the way it is now it shows up as it is processing.
    And if I do as you describe I will only see the HTML page at the end.
    Thanks anyway... =)