source: for-distributions/trunk/bin/windows/perl/lib/Time/tm.pm@ 14489

Last change on this file since 14489 was 14489, checked in by oranfry, 17 years ago

upgrading to perl 5.8

File size: 691 bytes
Line 
1package Time::tm;
2use strict;
3
4our $VERSION = '1.00';
5
6use Class::Struct qw(struct);
7struct('Time::tm' => [
8 map { $_ => '$' } qw{ sec min hour mday mon year wday yday isdst }
9]);
10
111;
12__END__
13
14=head1 NAME
15
16Time::tm - internal object used by Time::gmtime and Time::localtime
17
18=head1 SYNOPSIS
19
20Don't use this module directly.
21
22=head1 DESCRIPTION
23
24This module is used internally as a base class by Time::localtime And
25Time::gmtime functions. It creates a Time::tm struct object which is
26addressable just like's C's tm structure from F<time.h>; namely with sec,
27min, hour, mday, mon, year, wday, yday, and isdst.
28
29This class is an internal interface only.
30
31=head1 AUTHOR
32
33Tom Christiansen
Note: See TracBrowser for help on using the repository browser.