[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] using Time::localtime in perl
- Subject: [ale] using Time::localtime in perl
- From: deepbsd at earthlink.net (David S. Jackson)
- Date: Mon, 4 Feb 2002 12:37:01 -0500
I'm getting an mtime and an atime value from a stat command. I
believe this comes back in Epoch format, right?
So when I go
my $info = stat("pathto/file");
my $access = $info->atime;
my $created = $info->mtime;
my $realaccess = localtime($access);
my $realcreate = localtime($created);
why do $realaccess and $realcreate get values like
Time::tm=ARRAY(0x81b1a78)?
TIA!
--
David S. Jackson dsj at dsj.net
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
"But I don't like Spam!!!!"
---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.