in reply to I need to know if 32-bit or 64-bit perl is running my script.

If you want the perl process's start time, then that's already available in $^T. If you want a different prcocess's start time, then the 32/64-bitness of the executing perl should be irrelevant (a system may be running a mixture of 32-bit and 64-bit executables). Unless the psinfo offset is determined not by the individual processes, but by the type of the kernel. If the latter, then its a while since I've used solaris, but IIRC, psrinfo(1) gives you that info.

Dave.

  • Comment on Re: I need to know if 32-bit or 64-bit perl is running my script.