Jason Corbett wrote:
i want to use the sub routine to time stamp processes and such
whenever i need to. So, I wrote this below to call the routine into
a variable $process_date. Is there a better way to read the date
into a variable and use it?
Yes. Use Perl's built in function for the purpose:
my $process_date = localtime;
--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>