[ale] File::stat and Time::localtime

Greg Sabino Mullane greg at turnstep.com
Wed Mar 13 13:34:10 EST 2002



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


> Is it safe to assume that Earthlink's cgi server would have
> access to File::stat and Time::localtime?  I wonder if that's why
> my other CGI script  is failing.  

> Any ideas?

Start with something simple that you know works and build your 
way up until you find the problem. First, do something like this:

#!/usr/bin/perl

$=1; print "Content-type: text/html\n\n";
for (sort keys %ENV) {
  print "<li>$_: <b>$ENV{$_}</b></li>\n";
}


Once you get that to run, start adding in modules, increasing 
complexity, etc. Fall back to the last version when you get 
an error. You may even be able to write a script that can 
give you the last few lines of the error_log over the web. :)

If the above does not work, check that you have right path 
for perl. Check that the file permissions are set correctly. 
Check that you are calling the correct URL. Check that you 
ahev put it in the correct place on the server. Check that 
the directory you put it in can run cgi scripts. When all that 
fails, give their tech support line a call. This works much better 
than email, and it's part of what you are paying for, after all.

HTH,
Greg Sabino Mullane greg at turnstep.com
PGP Key: 0x14964AC8 200203131332

-----BEGIN PGP SIGNATURE-----
Comment: http://www.turnstep.com/pgp.html

iD8DBQE8j5uEvJuQZxSWSsgRAsuiAKDWKTN9PYTVm82JpPFma8lgFKfTNgCdG/ju
iww2fpIrTqAGLgUarXItA20=
=8brq
-----END PGP SIGNATURE-----



---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list