Age | Commit message (Collapse) | Author | Files | Lines |
|
Changes from previous:
----------------------
version: 0.28
date: Mon Sep 12 13:51:47 CEST 2011
changes:
- Added -truth option.
- This idea was inspired by https://rt.cpan.org/Ticket/Display.html?id=65536
- Awesome idea!
- Released from Liz++&Wendy++ downstairs bathroom
|
|
* Switch to Module::Package at YAPC 2011 ++
Changes 0.26:
* Fixed doc bug reported by KENTNL++
* Tweaked Makefile.PL
Changes 0.25:
* Fixed a bug caused by Readonly::XS (schwern++)
* Removed the new methods and autobox methods.
They didn't add much except confusion.
* Documented that you can use isTrue and isFalse as methods.
* '&boolean(1,2,3) now dies like boolean(1,2,3)'
* '&boolean() now dies like boolean()'
Changes 0.24:
* '@Schwern++ found out how to make true and false immutable.
Kudos to #strategicdata++.'
* Document the boolean() function.
* Added is_true and is_false methods.
* Added boolean, is_true, and is_false autobox methods
|
|
Upstream changes:
---
version: 0.23
date: Thu Sep 16 19:27:54 PDT 2010
changes:
- Weird macosx dist bug broke everything. Worked around.
---
version: 0.22
date: Wed Sep 15 00:21:20 PDT 2010
changes:
- Update copyright years.
---
version: 0.21
date: Mon Sep 13 18:40:21 PDT 2010
changes:
- Add a boolean($) coercer export function
- Add many more tests (from 20 to 55 tests)
- Add prototypes to all exports functions
- Overload not and ! to return boolean
|
|
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.
The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.
sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!
|
|
Most programming languages have a native Boolean data type. Perl
does not.
Perl has a simple and well known Truth System. The following scalar
values are false:
$false1 = undef;
$false2 = 0;
$false3 = 0.0;
$false4 = '';
$false5 = '0';
Every other scalar value is true.
This module provides basic Boolean support, by defining two special
objects: true and false.
|