in reply to Re^2: Absolute simplest way to keep a database variable persistent?
in thread Absolute simplest way to keep a database variable persistent?
One way to wrap a perl program is to use a web server. Create a server that takes an input of two strings and return the relatedness. The server can keep WordNet loaded between requests.
The server could be something like Apache and mod_perl, or it could be something like POE::Component::Server::HTTP.
I use the Cygwin environment and the POE modules to interface to other programs this way. However, I wasn't able to get POE working well until a learned a fair amount of Perl. Maybe you will get lucky and find a POE example that is very close to what you need.
This might not be the 'absolute simplest' to develop, but after you get it working your code will be quite simple!
It should work perfectly the first time! - toma
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Absolute simplest way to keep a database variable persistent?
by natestraight (Novice) on Oct 06, 2008 at 13:57 UTC | |
by admiral_grinder (Pilgrim) on Oct 07, 2008 at 13:27 UTC | |
by natestraight (Novice) on Oct 08, 2008 at 01:52 UTC |
In Section
Seekers of Perl Wisdom