1BSON::String(3)       User Contributed Perl Documentation      BSON::String(3)
2
3
4

NAME

6       BSON::String - BSON type wrapper for strings
7

VERSION

9       version v1.12.2
10

SYNOPSIS

12           use BSON::Types ':all';
13
14           bson_string( $string );
15

DESCRIPTION

17       This module provides a BSON type wrapper for a string value.
18
19       Since Perl does not distinguish between numbers and strings, this
20       module provides an explicit string type for a scalar value.
21

ATTRIBUTES

23   value
24       A scalar value, which will be stringified during construction.  The
25       default is the empty string.
26

METHODS

28   TO_JSON
29       Returns value as a string.
30

OVERLOADING

32       The stringification operator ("") is overloaded to return the "value",
33       the full "minimal set" of overloaded operations is provided (per
34       overload documentation) and fallback overloading is enabled.
35

AUTHORS

37       ·   David Golden <david@mongodb.com>
38
39       ·   Stefan G. <minimalist@lavabit.com>
40
42       This software is Copyright (c) 2020 by Stefan G. and MongoDB, Inc.
43
44       This is free software, licensed under:
45
46         The Apache License, Version 2.0, January 2004
47
48
49
50perl v5.32.0                      2020-08-18                   BSON::String(3)
Impressum