1Moose::Autobox::Scalar(U3s)er Contributed Perl DocumentatMiooonse::Autobox::Scalar(3)
2
3
4
6 Moose::Autobox::Scalar - the Scalar role
7
9 version 0.16
10
12 This is a role to describes a Scalar value, which is defined as the
13 combination (union sort of) of a String and a Number.
14
16 "meta"
17 "print"
18 "say"
19 "flatten"
20 Flattening a scalar just returns the scalar. This means that you
21 can say:
22
23 my @array = $input->flatten;
24
25 # Given $input of 5, @array is (5);
26 # Given $input of [ 5, 2, 0], @array is (5, 2, 0)
27
28 "first"
29 As per flatten.
30
31 "last"
32 As per flatten.
33
35 Bugs may be submitted through the RT bug tracker
36 <https://rt.cpan.org/Public/Dist/Display.html?Name=Moose-Autobox> (or
37 bug-Moose-Autobox@rt.cpan.org <mailto:bug-Moose-Autobox@rt.cpan.org>).
38
39 There is also a mailing list available for users of this distribution,
40 at <http://lists.perl.org/list/moose.html>.
41
42 There is also an irc channel available for users of this distribution,
43 at "#moose" on "irc.perl.org" <irc://irc.perl.org/#moose>.
44
46 Stevan Little <stevan.little@iinteractive.com>
47
49 This software is copyright (c) 2006 by Infinity Interactive, Inc.
50
51 This is free software; you can redistribute it and/or modify it under
52 the same terms as the Perl 5 programming language system itself.
53
54
55
56perl v5.30.1 2020-01-30 Moose::Autobox::Scalar(3)