Re: [exim] Another quick perl question

Top Pagina
Delete this message
Reply to this message
Auteur: Stanislaw Halik
Datum:  
Aan: exim-users
Onderwerp: 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.