- Messages
- 4,148
- Reaction score
- 5
- Points
- 38
The thing that is holding you back is that only pure perl runs as a *.cgi on this server.
eg:
eg:
Try making the extension what it was made to be (*.pl).
Permission to 755 and having no undefined globals helps to.
A working example of a perl script running:
1st get a cookie for access:
http://www.defectalisman.exofire.net/cgi-bin/tools/cookie.pl?mngr1
This should give mod status.
http://www.defectalisman.exofire.net/
All the links on the page are sent through a perl script. The script takes the arguments set by the ENV and acts upon the comands and parms.
eg:
Code:
#!usr/bin/perl
my $var = 'this is pure perl';
print "$var\n";
#this can be saved as *.cgi
Code:
#!usr/bin/perl
use image::button; # *
my $var = 'this is pure perl';
print "$var\n";
# this has to be saved as *.pl
Try making the extension what it was made to be (*.pl).
Permission to 755 and having no undefined globals helps to.
A working example of a perl script running:
1st get a cookie for access:
http://www.defectalisman.exofire.net/cgi-bin/tools/cookie.pl?mngr1
This should give mod status.
http://www.defectalisman.exofire.net/
All the links on the page are sent through a perl script. The script takes the arguments set by the ENV and acts upon the comands and parms.