Re: [exim] Another quick perl question

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Stanislaw Halik
Date:  
À: exim-users
Sujet: 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.