-
-
27 Oct 2014 00:19:07 UTC
- Distribution: JE
- Module version: 0.066
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (3)
- Testers (3148 / 31 / 37)
- Kwalitee
Bus factor: 0- 90.35% Coverage
- License: unknown
- Activity
24 month- Tools
- Download (274.99KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors-
Father Chrysostomos
- Dependencies
- Carp
- Date::Parse
- Encode
- Exporter
- List::Util
- POSIX
- Scalar::Util
- Test::More
- Time::Local
- Time::Zone
- constant
- re
- strict
- utf8
- warnings
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
JE::Boolean - JavaScript boolean value
SYNOPSIS
use JE; use JE::Boolean; $j = JE->new; $js_true = new JE::Boolean $j, 1; $js_false = new JE::Boolean $j, 0; $js_true ->value; # returns 1 $js_false->value; # returns "" "$js_true"; # returns "true" $js_true->to_object; # returns a new JE::Object::Boolean
DESCRIPTION
This class implements JavaScript boolean values for JE. The difference between this and JE::Object::Boolean is that that module implements boolean objects, while this module implements the primitive values.
The stringification and boolean operators are overloaded.
SEE ALSO
Module Install Instructions
To install JE, copy and paste the appropriate command in to your terminal.
cpanm JE
perl -MCPAN -e shell install JE
For more information on module installation, please visit the detailed CPAN module installation guide.