logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Matthew Phillips <mattp@cpan.org>

Description

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

Name

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

Synopsis

         use Data::Perl qw/bool/;

         my $bool = bool(0);

         $bool->toggle; # 1

         $bool->unset; # 0

Version

       version 0.002011

See Also