Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

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 does for 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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://118655]
[LanX]: # Pestis Africana Suum
[erix]: that's an old plan, I think. Isn't there already a danewal (or some such name)?
[marto]: Build with -Wall
[erix]: Danewerk
[LanX]: I seem to remember that the danewall was build by the Frankish empire against the Danes
[erix]: 500 AD thru viking age
[erix]: that would make sense but wikipedia thinks otherwise
[LanX]: oh me was wrong ...
[erix]: but it always works both ways of course
[LanX]: Funny some weeks ago, I met people from the Cimbrian peninsula who didn't know it's called the Cimbrian peninsula ...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (9)
As of 2018-03-22 18:42 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (283 votes). Check out past polls.