http://www.perlmonks.org?node_id=475178


in reply to Re: Java game linking to a perl script
in thread Java game linking to a perl script

Thanks, ikegami!

This is what I've in mind for the solution:

When the applet game is solved, the java code will get a unique code from a hidden file residing in the server (in a directory above public_html). It'll then call the perl script with that code to do the updating.

The perl script will get the code from the same file and do the matching. If it's matched, the necessary database upgrading will be done and then it'll write a new unique code to the hidden file.

Something like that. Not sure whether it makes sense...