April 2nd, 2000, 10:52 PM
Is there a way to have a perl script call another perl script to run, without having to incorporate a refresh meta-tag into the HTML?
I am creating a log-in page, and I would like for a script to check for access, and then call another script (that prints the HTML).
April 5th, 2000, 04:48 AM
The easiest way to do this is to use SSI (server-side-includes). Assuming your ISP supports this, you're going to have to rename your index.html to index.shtml, so that the web server knows that this file is a SSI html file.
Then you can call your perl function using this syntax:
<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">code:</font><HR><pre>
If this doesn't answer your question, feel free to e-mail me.
April 11th, 2000, 02:36 PM
maybe with: system, exec or open.
perldoc -f those.