On Fri, Jul 21, 2006, Marc Perkel wrote:
> How do I print the current time and date (logging purposes)?

`use POSIX; print (strftime "%c", localtime)."\n"'

> How do I print the first parameter on the command line that ran the perl 
> program?

`print $ARGV[0]."\n"'

-- 
Ecchi na no wa ikenai to omoimasu.

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to