Acme::Nooo - But I don't care if "It Has Objects"!
## Before: use SquareRoutEr; my $obj = SquareRoutEr->new; $obj->sqrt(4); # => 2 ## After: use Acme::Nooo 'SquareRoutEr'; sqrt(4); # => 2 ## Before: use AnyRoutEr; $obj = AnyRoutEr->new(pow => 3); $obj->root(8); # => 2 ## After: use Acme::Nooo ['AnyRoutEr', 'pow', 3]; root(8); # => 2
Tired of "object-fetishist" modules that force you to create a handle object when a simple procedural interface would have been sufficient? Acme::Nooo will import functions into the current namespace to de-objectify abominable interfaces.
Acme::Nooo
use Acme::Nooo MODULE;
or
use Acme::Nooo [MODULE NEW-ARGS];
exports all functions in Module as methods on an object or class created via
use MODULE; $obj = new MODULE NEW-ARGS...
For finer-grained control,
use Acme::Nooo [MODULE NEW-ARGS], NAMES
exports only the functions named in NAMES.
NAMES
It depends. Acme::Nooo exports other modules' functions.
Names withheld to protect the innocent.
Sean O'Rourke, <seano@cpan.org>
Copyright (C) 2007 Sean O'Rourke. All rights reserved, some wrongs reversed. This module is distributed under the same terms as Perl itself. Let me know if you actually find it useful.
To install Acme::Nooo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Acme::Nooo
CPAN shell
perl -MCPAN -e shell install Acme::Nooo
For more information on module installation, please visit the detailed CPAN module installation guide.