NAME
Acme::Void - Making void things more void
SYNOPSIS
use Acme::Void;
# showing explicitly it's under void context.
void do_something();
# or a bit more explicitly.
void = do_something();
# you can use it just like an alternative to built-in 'undef'.
my $str = void;
# void yields void.
void->foo; # always void
use Acme::Void qw(:all);
# you might like other languages.
my $foo = nil;
my $bar = null;
# with broken love...
if( $your_love eq nothing ){
my @heart = empty;
}
# no operations here.
noop;
# or OOP!
sub meet_a_cute_girl {
my $self = shift;
$self->noop; # no way!
}
# the equality.
void = empty = nil = noop = nothing = null = undef;
void = void->void;
DESCRIPTION
You must need 'void' and other void-ish functions to write cool codes.
FUNCTIONS
- void
-
Just provides the 'void way'.
- empty, nil, noop, nothing, null
-
Synonyms to void. To import them, don't forget to use the module with ':all' switch.
DEPENDENCY
Want, Class::BlackHole
AUTHOR
Okamoto RYO <ryo@aquahill.net>
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 105:
You forgot a '=back' before '=head1'