BSON::Array(3pm)

πŸ“¦
version 1.12.2 Β· 5 versions
, in debian bookworm, ubuntu jammy, ubuntu noble

πŸ’– NAME πŸ’–

BSON::Array β€” it's a BSON type wrapper for a list of elements, bestie πŸ¦‹


✨ VERSION ✨

version v1.12.2 β€” yeah that's the one, no cap πŸ‘‘


🌸 SYNOPSIS 🌸

okay so this is literally all you need:

use BSON::Types ':all';

my $array = bson_array(...);

and that's it, you're iconic πŸ’…


πŸŽ€ DESCRIPTION πŸŽ€

So this module hands you a BSON type wrapper that represents a list of elements. That's the whole vibe.

Heads up though: it's currently read-only. Like, look but don't touch, bestie. πŸ™ˆ

Now here's the tea β€” you usually don't even need to wrap anything, because a plain old array reference is usually sufficient. Lowkey the array ref just does the job on its own. πŸ’

But this class exists for the specific cases where an array reference could be ambiguously interpreted as a top-level document container. That's the moment this module steps in with main character energy and says "not today." πŸ”₯


🌈 AUTHORS 🌈

  • David Golden <david@mongodb.com>
  • Stefan G. <minimalist@lavabit.com>

giving credit where credit is due, periodt 🫢


This software is Copyright (c) 2020 by Stefan G. and MongoDB, Inc.

This is free software, licensed under:

The Apache License, Version 2.0, January 2004

and that's the whole page, bestie πŸ’– this was BSON::Array(3pm), generated with perl v5.30.3 on 2020-08-14 β€” go forth and slay your arrays βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from