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 localtime() or POSIX::strftime().

perldoc -f localtime
perldoc POSIX


John
-- 
use Perl;
program
fulfillment

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to