Hello everyone. I am writing a Perl script that will be installed on a Linux host. I need the script to be able to access the current time / date environment variable somtimes. I've looked through a list of the standard CGI variables that can be accessed through $ENV but time / date isn't one of them. Is it possible to pass commands to the host's shell from within a Perl script and have the result piped back into the script? If so I could just pass:
Or maybe there is a simpler way to do this that I'm missing. Any advice would be appriciated.