Mango::BSON::Timestamp - Timestamp type
use Mango::BSON::Timestamp; my $ts = Mango::BSON::Timestamp->new(seconds => 23, increment => 5);
Mango::BSON::Timestamp is a container for the BSON timestamp type used by Mango::BSON.
Mango::BSON::Timestamp implements the following attributes.
my $seconds = $ts->seconds; $ts = $ts->seconds(23);
Seconds.
my $inc = $ts->increment; $tz = $ts->increment(5);
Increment.
Mango::BSON::Timestamp inherits all methods from Mojo::Base.
Mango, Mojolicious::Guides, http://mojolicio.us.
To install Mango, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mango
CPAN shell
perl -MCPAN -e shell install Mango
For more information on module installation, please visit the detailed CPAN module installation guide.