perldoc > BSON::Array

πŸ“› NAME

BSON::Array β€” BSON type wrapper for a list of elements

πŸš€ Quick Reference

Use CaseCommandDescription
Create a BSON arraybson_array(1, 2, 3)Wrap a list into a BSON array πŸ“¦
Get Perl arrayref$array->valueObtain the underlying list reference πŸ“‹
Dereference directly@{$array}Use the object as an array πŸŽ›οΈ
Check the typeref $array eq 'BSON::Array'Verify it is a BSON array πŸ”

πŸ†š VERSION

version v1.12.2

πŸ“– SYNOPSIS

use BSON::Types ':all';

my $array = bson_array(...);

πŸ“ DESCRIPTION

This module provides a BSON type wrapper representing a list of elements 🧩. It is currently read‑only πŸ”’.

Wrapping is usually not necessary as an ordinary array reference is usually sufficient. This class is helpful for cases where an array reference could be ambiguously interpreted as a top‑level document container 🏷️.

πŸ‘₯ AUTHORS

πŸ“œ COPYRIGHT AND LICENSE

πŸ“… 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

BSON::Array
πŸ“› NAME πŸš€ Quick Reference πŸ†š VERSION πŸ“– SYNOPSIS πŸ“ DESCRIPTION πŸ‘₯ AUTHORS πŸ“œ COPYRIGHT AND LICENSE

Generated by phpman v4.9.25-4-g0d844aa · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-07 09:08 @216.73.217.93
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-pro / taotoken.net / www.chedong.com - original format