Bubblegum::Object::Undef - Common Methods for Operating on Undefined Values
version 0.19
use Bubblegum; my $nothing = undef; say $nothing->defined ? 'Yes' : 'No'; # No
Undefined methods work on variables whose data meets the criteria for being undefined. It is not necessary to use this module as it is loaded automatically by the Bubblegum class.
my $nothing = undef; $nothing->defined ? 'Yes' : 'No'; # No
The defined method always returns false.
Al Newkirk <anewkirk@ana.io>
This software is copyright (c) 2013 by Al Newkirk.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Bubblegum, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bubblegum
CPAN shell
perl -MCPAN -e shell install Bubblegum
For more information on module installation, please visit the detailed CPAN module installation guide.