Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Can I use a Perl exe on a CD to search a flatfile on the CD?

by mischief (Hermit)
on Oct 13, 2001 at 16:13 UTC ( #118655=note: print w/ replies, xml ) Need Help??


in reply to Can I use a Perl exe on a CD to search a flatfile on the CD?

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.


Comment on Re: Can I use a Perl exe on a CD to search a flatfile on the CD?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://118655]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (10)
As of 2014-09-16 09:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (158 votes), past polls