print scalar(localtime());

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]
> Sent: 17 September 2001 15:43
> To: [EMAIL PROTECTED]
> Subject: [Perl-unix-users] Log
> 
> 
> I'm trying to  output the date and time a perl script is run to a log.
> What is the syntax to accomplish this?  Excuse my ignorance, 
> I've done very
> little in PERL but I have managed to create some scripts to 
> help manage my
> network.  In this case I have a script that copies files around to
> different servers 3 times a day through cron.  It is run 
> manually too so I
> need to add it to the existing script to update the log.  Thanks in
> advance.
> 
> Mike Sullivan
> Network Administrator
> 
> 
> 
> _______________________________________________
> Perl-Unix-Users mailing list. To unsubscribe go to 
> http://listserv.ActiveState.com/mailman/subscribe/perl-unix-users
> 
_______________________________________________
Perl-Unix-Users mailing list. To unsubscribe go to 
http://listserv.ActiveState.com/mailman/subscribe/perl-unix-users

Reply via email to