Acme-Anything
view release on metacpan or search on metacpan
lib/Acme/Anything.pm view on Meta::CPAN
package Acme::Anything;
use strict;
use 5.008;
use warnings;
our $VERSION = '0.04';
push @main::INC, \ &handler_of_last_resort;
sub handler_of_last_resort {
my $fake_source_code = '1';
open my ($fh), '<', \ $fake_source_code;
return $fh;
};
no warnings; ## no critic (warning)
'Warning! The consumption of alcohol may cause you to think you have mystical kung-fu powers.'
__END__
=head1 NAME
Acme::Anything - Anything, even imaginary modules are loadable
=head1 SYNOPSIS
use Acme::Anything;
use Fish; # OK!
use CGI; # Also OK!
=head1 DESCRIPTION
This module inserts a hook into C<@INC> to load imaginary
modules. Things that would ordinarily work continue to work. Things
that would fail because the module doesn't exist won't fail anymore.
=head1 INSTALLATION
To install this module, run the following commands:
perl Makefile.PL
make
make test
make install
=head1 SUPPORT AND DOCUMENTATION
After installing, you can find documentation for this module with the
perldoc command.
perldoc Acme::Anything
You can also look for information at:
=over
=item RT, CPAN's request tracker L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Acme-Anything>
=item AnnoCPAN, Annotated CPAN documentation L<http://annocpan.org/dist/Acme-Anything>
=item CPAN Ratings L<http://cpanratings.perl.org/d/Acme-Anything>
=item Search CPAN L<http://search.cpan.org/dist/Acme-Anything>
=back
=head1 AUTHOR
Josh ben Jore, E<gt>jjore@cpan.orgE<lt>
( run in 0.739 second using v1.01-cache-2.11-cpan-cdf2f3d4e48 )