When you say facility, do you mean a website? (I'm guessing you do from your later post.) If you do, the problem with using perl on a cd is that you won't have a webserver running to pass the cgi environment variables etc to perl so that it can do its thing. Your best bet might be to use javascript if the db is small enough. Otherwise you could, as you suggested, write a simple http server in perl and make sure they run that before accessing the pages. It's more work, but would be more flexible. Have a look at HTTP::Daemon, it'll probably help you a lot if you decide to go this route.

Another way you might be able to get round this is just create a static version of the site by crawling all the pages and saving them to cd (something like what http://perlmonks.thepen.com/ does for perlmonks.org). This probably isn't all that helpful an idea though, as you'll have no ability to generate pages from user input.


In reply to Re: Can I use a Perl exe on a CD to search a flatfile on the CD? by mischief
in thread Can I use a Perl exe on a CD to search a flatfile on the CD? by jerrygarciuh

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.