Acme::Void - Making void things more void
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;
You must need 'void' and other void-ish functions to write cool codes.
Just provides the 'void way'.
Synonyms to void. To import them, don't forget to use the module with ':all' switch.
Want, Class::BlackHole
Okamoto RYO <ryo@aquahill.net>
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
To install Acme::Void, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Acme::Void
CPAN shell
perl -MCPAN -e shell install Acme::Void
For more information on module installation, please visit the detailed CPAN module installation guide.