[ale] using Time::localtime in perl
Fletch
fletch at phydeaux.org
Mon Feb 4 14:55:39 EST 2002
>>>>> "Tommie" == Tommie M Jones <tj at atlantageek.com> writes:
>> > > why do $realaccess and $realcreate get values like > >
>> Time::tm=ARRAY(0x81b1a78)?
Tommie> It's a reference to an array.
Actually, it's a Time::tm instance (that just happens to be
implemented as an array).
[...]
Tommie> So if you want to access the second element you can go
Tommie> print $realaccess->[4]; or print @$realaccess[4];
You can just use $realaccess->mon to get the month. It's
impolite to go sniffing around inside another classes objects.
--
Fletch | "If you find my answers frightening, __`'/|
fletch at phydeaux.org | Vincent, you should cease askin' \ o.O'
770 933-0600 x211(w) | scary questions." -- Jules =(___)=
| U
---
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.
More information about the Ale
mailing list