Re: [exim] Another quick perl question

Página Inicial
Delete this message
Reply to this message
Autor: Stanislaw Halik
Data:  
Para: exim-users
Assunto: Re: [exim] Another quick perl question
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.