I am not sure exactly what you mean... but, this phrase:

So if I just download this page and view the source, I only see calls to these perl scripts that create this page.

leads me to belive that you are maybe getting/viewing the source of a frameset. Does it look something at all like:

<frameset> <frame src="script.pl" /> <frame src="script2.pl /> </frameset>
There might be other stuff in the tags, and it may look different, but something like that?

If so, first have a look at a page like this one to get a basic notion of what a frameset is (real short story: it is a "page" that embeds other pages in a "grid").

Then what you can do, is save this page to disk, then go to each of the URLs (src="this part") and save those in the same directory. Then you should be able to view the page offline, locally.

To do the same with perl, which I assume is the final goal of this question, I'd look into LWP::Simple for fetching, and HTML::Parser or HTML::TokeParser to get the URLs from the initial frameset.

Note that this is only a guess. Please clarify further if possible... also note that you will not be able to use any scripts locally, you can just get the results from one particular run of the script.


You have moved into a dark place.
It is pitch black. You are likely to be eaten by a grue.

In reply to Re: Saving data from a web page? by Dog and Pony
in thread Saving data from a web page? by JorkkiS

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.