in reply to Finding out how long a script has been running

You could also use $^T, it is the epoch when the script started. Check perlvar out.
  • Comment on Re: Finding out how long a script has been running

Replies are listed 'Best First'.
Re: Re: Finding out how long a script has been running
by shotgunefx (Parson) on Jun 21, 2002 at 18:37 UTC
    If you go this route, be aware under mod_perl or other situations where you script is persistant, it might not be the number you want.

    -Lee

    "To be civilized is to deny one's nature."