Mango:...estamp(3pm)
β¨ NAME β¨
Mango::BSON::Timestamp β it's literally the Timestamp type bestie, and we're gonna talk about it π
(also hi, this is the Mango:...estamp(3pm) page, Perl doc girlies rise up π)
πΈ SYNOPSIS πΈ
use Mango::BSON::Timestamp;
my $ts = Mango::BSON::Timestamp->new(seconds => 23, increment => 5);
see like... two lines and you already got a whole timestamp?? we love a low-effort icon π
π¦ DESCRIPTION π¦
okay so Mango::BSON::Timestamp is a container for the BSON timestamp type that gets used by Mango::BSON. that's it. that's the whole vibe. it holds the timestamp, it doesn't start drama, it doesn't do tricks β it just contains π«Ά
π ATTRIBUTES π
Mango::BSON::Timestamp implements the following attributes, and yes bestie there's only two so this is a quick scroll:
β seconds
my $seconds = $ts->seconds;
$ts = $ts->seconds(23);
Seconds. that's the one. the seconds one β±οΈ
β increment
my $inc = $ts->increment;
$tz = $ts->increment(5);
Increment. and yes the variable in that second line is $tz, we don't ask questions, we just copy it exactly, no cap π
π₯ METHODS π₯
Mango::BSON::Timestamp inherits all methods from Mojo::Base. so whatever Mojo::Base is serving, this thing is serving too β main character energy by inheritance, periodt π
π SEE ALSO π
MangoMojolicious::Guides- <http://mojolicio.us>
fr fr go read those if you wanna actually understand the ecosystem, this page is just the timestamp cameo π
and that's the whole page bestie!! β¨ this was perl v5.30.3, dated 2020-06-05 β so yeah she's a little vintage but she ate and she's still iconic ππ mwah, go build something π¦πΈ
π¦ where this page comes from
- debian bookworm: libmango-perl 1.30-2 Β· Artistic-2.0
- debian trixie: libmango-perl 1.30-2 Β· Artistic-2.0
- ubuntu jammy: libmango-perl 1.30-2 Β· Artistic-2.0
- ubuntu noble: libmango-perl 1.30-2 Β· Artistic-2.0
- ubuntu resolute: libmango-perl 1.30-2 Β· Artistic-2.0
- ubuntu stonking: libmango-perl 1.30-2 Β· Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms