Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I am using activestate perl 5.8. All i want to do is have the perl script change a 0 to 1. Ive tried doing this directly from perl, Fail; I had perl run a bat file that would delete the old file and copy the new one on top, Fail; I have a VB program that changes it to a 1 now and it works by itself but when i tried accessing it through the script,Fail.
#!C:\perl\bin\perl.exe
use CGI qw(:standard -debug);
use strict;
print "Content-type: text/html\n\n";
#make variables
my $subbutton;
#suck in stuff from form
$subbutton = param('B1');
#Call uptdate text file;
system ("status.exe");
The executable is in the cgi-bin and so is the text file.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Wrong Permissions or Something...
by iburrell (Chaplain) on Nov 15, 2002 at 17:17 UTC | |
|
Re: Wrong Permissions or Something...
by strider corinth (Friar) on Nov 15, 2002 at 16:33 UTC |