use getpwnam to find out who the user is.
http://www.atlantageek.com Get inside Atlanta's Tech scene On Tue, 15 Jan 2002, nemesis wrote: > > 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. > > -- > *claw claw* *fang* > *shred* *rip* *ad hominem* *slash* > (more attacks will require consultancy fees.) > -Nix. > > >