BERT::Time - Time data type for BERT
use BERT; my $time = BERT::Time->new(255295581, 446228); my ($seconds, $microseconds) = $time->value; ($seconds, $microseconds) = split /\./, $time;
This module is intended to be used with BERT to specify a time value. It is overloaded to act almost exactly like a string.
See the BERT specification at http://bert-rpc.org/.
Creates a new BERT::Time object initialized with $seconds and $microseconds as its time value.
Returns all of the arguments that were passed to new() as-is.
new()
Sherwin Daganato <sherwin@daganato.com>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
BERT
To install BERT, copy and paste the appropriate command in to your terminal.
cpanm
cpanm BERT
CPAN shell
perl -MCPAN -e shell install BERT
For more information on module installation, please visit the detailed CPAN module installation guide.