Acme::RequireModule - Extends require() to accept module names
This document describes Acme::RequireModule version 0.01.
use Acme::RequireModule; # This is a lexical pragma. foreach my $module qw(Foo Bar Baz){ require $module; # Yes, we can! }
There are too many ways to load modules :(
I wish require() accepted module names!
require()
Perl 5.10.0 or later, and a C compiler.
No bugs have been reported.
Please report any bugs or feature requests to the author.
perlfunc.
Goro Fuji <gfuji(at)cpan.org>.
Copyright (c) 2009, Goro Fuji <gfuji(at)cpan.org>. Some rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Acme::RequireModule, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Acme::RequireModule
CPAN shell
perl -MCPAN -e shell install Acme::RequireModule
For more information on module installation, please visit the detailed CPAN module installation guide.