Acme-RedShirt
view release on metacpan or search on metacpan
lib/Acme/RedShirt.pm view on Meta::CPAN
=head1 NAME
Acme::RedShirt -- Write programs that die upon beaming down
=head1 SYNOPSIS
use Acme::RedShirt;
. . . # Program dies like a Red Shirt. Won't be executed.
__OUTPUT__
He's dead, Jim.
# Specify a method of death
use Acme::RedShirt 'phaser';
. . .
__OUTPUT__
He got hit by a phaser. He's dead, Jim.
=head2 DESCRIPTION
Every good captain is surrounded by a bunch of extras wearing red shirts, whose
job it is to put themselves in the line of fire so the regulars can get on with
the show. Now, this level of security is brought to Perl.
It is possible to use this module to specify a method of death for your expendable
program. Currently defined methods are:
( run in 0.481 second using v1.01-cache-2.11-cpan-4e96b696675 )