1Data::Perl::Bool(3)   User Contributed Perl Documentation  Data::Perl::Bool(3)
2
3
4

NAME

6       Data::Perl::Bool - Wrapping class for boolean values.
7

VERSION

9       version 0.002011
10

SYNOPSIS

12         use Data::Perl qw/bool/;
13
14         my $bool = bool(0);
15
16         $bool->toggle; # 1
17
18         $bool->unset; # 0
19

DESCRIPTION

21       This class is a simple consumer of the Data::Perl::Role::Bool role,
22       which provides all functionality. You probably want to look there
23       instead.
24

AUTHOR

26       Matthew Phillips <mattp@cpan.org>
27
29       This software is copyright (c) 2020 by Matthew Phillips
30       <mattp@cpan.org>.
31
32       This is free software; you can redistribute it and/or modify it under
33       the same terms as the Perl 5 programming language system itself.
34
35
36
37perl v5.32.0                      2020-07-28               Data::Perl::Bool(3)
Impressum