* at 15/01 15:21 +0000 nemesis said: > > Anyone know of a way of telling whether a perl script was called as a > CGI (via the apache webserver) or directly (as in as a cron script or > command line)?
will be a whole load of exciting CGI type things in %ENV if it's a cgi call so you could test for those. s