Acme-Taboo
view release on metacpan or search on metacpan
# =========================================================================
# THIS FILE IS AUTOMATICALLY GENERATED BY MINILLA.
# DO NOT EDIT DIRECTLY.
# =========================================================================
use 5.008_001;
use strict;
use warnings;
use utf8;
use Module::Build;
use File::Basename;
use File::Spec;
use CPAN::Meta;
use CPAN::Meta::Prereqs;
my %args = (
license => 'perl',
dynamic_config => 0,
lib/Acme/Taboo.pm view on Meta::CPAN
}
sub _get_replace {
my $self = shift;
return rand(10) >= 7 ? $self->[int(rand($#{$self} + 1))] : $CENSORED[int(rand($#CENSORED + 1))] ;
}
1;
__END__
=encoding utf-8
=head1 NAME
Acme::Taboo - Automated Cencoring Micro Engine
=head1 SYNOPSIS
use Acme::Taboo;
my $taboo = Acme::Taboo->new('bunny', 'coyote', 'roadrunner');
my $str = 'Do you love bugs bunny, or wily coyote?';
( run in 0.358 second using v1.01-cache-2.11-cpan-4d50c553e7e )