| Acme-Nothing documentation | Contained in the Acme-Nothing distribution. |
Acme::Nothing - No more module loading!
version 0.03
Stops your script from loading any more modules.
use Acme::Nothing;
use Improbable; # Nope!
use Fish; # Not this either!
use CGI; # Still not loading anything
| Acme-Nothing documentation | Contained in the Acme-Nothing distribution. |
package Acme::Nothing; BEGIN { $Acme::Nothing::VERSION = '0.03'; } # ABSTRACT: No more module loading! use strict; use 5.008; use warnings; open my $fh, '<', \$Acme::Nothing::VERSION; close $fh; @INC = sub { $INC{ $_[1] } = $_[1]; open my $fh, '<', \!$[ or die; return $fh; }; Internals::SvREADONLY( $_, 1 ) for @INC; Internals::SvREADONLY( @INC, 1 ); () = .0 __END__