tm.pm

来自「UNIX下perl实现代码」· PM 代码 · 共 32 行

PM
32
字号
package Time::tm;use strict;use Class::Struct qw(struct);struct('Time::tm' => [     map { $_ => '$' } qw{ sec min hour mday mon year wday yday isdst }]);1;__END__=head1 NAMETime::tm - internal object used by Time::gmtime and Time::localtime=head1 SYNOPSISDon't use this module directly.=head1 DESCRIPTIONThis module is used internally as a base class by Time::localtime AndTime::gmtime functions.  It creates a Time::tm struct object which isaddressable just like's C's tm structure from F<time.h>; namely with sec,min, hour, mday, mon, year, wday, yday, and isdst.This class is an internal interface only. =head1 AUTHORTom Christiansen

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?