Acme-Opish
view release on metacpan or search on metacpan
lib/Acme/Opish.pm view on Meta::CPAN
# $Id: Opish.pm,v 1.2 2003/09/28 08:50:37 gene Exp $
package Acme::Opish;
use vars qw($VERSION);
$VERSION = '0.0601';
use strict;
use Carp;
use base qw(Exporter);
use vars qw(@EXPORT @EXPORT_OK);
@EXPORT = @EXPORT_OK = qw(
enop
has_silent_e
no_silent_e
);
use File::Basename;
# no_silent_e list {{{
my %OK; @OK{qw(
adobe
acme
acne
anime
antistrophe
apostrophe
be
breve
Brule
cabriole
cache
Calliope
capote
Catananche
catastrophe
clave
cliche
consomme
coyote
diastrophe
epanastrophe
epitome
forte
Giuseppe
kamikaze
karate
me
misogyne
Pele
phlebotome
progne
Psyche
psyche
Quixote
recipie
Sade
Salome
saute
stanze
supercatastrophe
Tempe
tousche
tsetse
tonsillectome
tonsillotome
tracheotome
ukulele
we
zimbabwe
)} = undef;
# }}}
# Add 'no_silent_e' entries if present and then return the list.
sub no_silent_e {
$OK{$_} = undef for @_;
return keys %OK;
}
# Remove'no_silent_e' entries if present and then return the list.
sub has_silent_e {
delete $OK{$_} for @_;
return keys %OK;
}
# Prefix vowels not declared in the 'no_silent_e' list.
sub enop {
( run in 3.739 seconds using v1.01-cache-2.11-cpan-cdf2f3d4e48 )