Moose::Autobox::Scalar(3pm)

Moose::Autobox::Scalar3pm

The scalar role

Version

version 0.16

Overview

This is a role to describes a Scalar value, which is defined as the combination (union sort of) of a String and a Number.

Methods

"meta"
"print"
"say"
"flatten"

Flattening a scalar just returns the scalar. This means that you can say:

  my @array = $input->flatten;
  # Given $input of 5, @array is (5);
  # Given $input of [ 5, 2, 0], @array is (5, 2, 0)
"first"

As per flatten.

"last"

As per flatten.

Support

Bugs may be submitted through the RT bug tracker <https://rt.cpan.org/Public/Dist/Display.html?Name=Moose-Autobox> (or [email protected] <mailto:[email protected]>).

There is also a mailing list available for users of this distribution, at <http://lists.perl.org/list/moose.html>.

There is also an irc channel available for users of this distribution, at "#moose" on "irc.perl.org" <irc://irc.perl.org/#moose>.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 4 times.

  1. 6.0
  2. 7
  3. 8
  4. 9–11
  5. 12–13

Author

Stevan Little <[email protected]>

From libmoose-autobox-perl 0.16-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.