| Net-Lyskom documentation | view source | Contained in the Net-Lyskom distribution. |
Net::Lyskom::Time - object that holds a time value.
print scalar localtime($obj->time_t);
All methods except time_t() and new() are get/set attribute accessors. That is, they return the attribute's contents if called without an argument and set the attribute's contents if given an argument. time_t() returns the held time in seconds since the Unix epoch, and new() creates a new object.
All arguments are optional. If not given, they default to the value appropriate to the current time.
| Net-Lyskom documentation | view source | Contained in the Net-Lyskom distribution. |