Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: non-business language

by derby (Abbot)
on Mar 22, 2002 at 13:50 UTC ( [id://153553]=note: print w/replies, xml ) Need Help??


in reply to non-business language

particle,

While I agree with the overall message you're conveying (which is a nice fit to In defense of civility and In defense of criticism) I must say there is something quite disturbing in having the daily task of checking out who is reading dirty words (...shudder... that's not security that's just plain fascism).

Maybe you can convince your info security people to do a better job of their filtering. I mean you proved to them the validity of this site in your daily job. Shouldn't they grep out perlmonks from their dirty-words report? (Cripes, you probably can't visit slashdot at all).

I was tempted to put George Carlin's "seven dirty words" in this post but since I can appreciate your position, here's the man himself (it's just audio, so let's see that show up) and his expanded list (this one actually contains words but they're of the "medical" variety with the good stuff behind the links).

-derby

update: Maybe PM needs a module like so (dirty words masked for particle's situation).

another update: Changed package name from Carlin2Flanders to just Flanders - sounds better IMHO.

package Acme::Flanders; use 5.006; use strict; use warnings; require Exporter; our @ISA = qw(Exporter); our @EXPORT = qw( repent ); our $VERSION = '0.01'; our %NED_FILTER = ( 's**t' => 'son of a gun', 'p**s' => 'diddly on', 'f**k' => 'son of a gun', 'c**t' => 'diddly on', 'c********r' => 'son of a gun', 'm****rf****r' => 'diddly on', 't**s' => 'son of a gun', ); sub repent { my( $dirt ) = shift; my( $key ); foreach $key ( keys %NED_FILTER ) { $dirt =~ s/\b$key\b/$Acme::Flanders::NED_FILTER{$key}/ig; } $dirt; } 1; __END__ =head1 NAME Acme::Flanders - For I<really> bad potty mouths. =head1 SYNOPSIS use Acme::Flanders; print repent("Holy S**t! Batman"); =head1 DESCRIPTION Be a good child like your parents told you and stop using potty words. This module will filter a string and replace the seven dirty words as documented by George Carlin with acceptable cursing as espoused by Ned Flanders. =head1 AUTHOR derby =head1 COPYRIGHT This module is free software. It may be used, redistributed and/or modified under the terms of the Perl Artistic License (see http://www.perl.com/perl/misc/Artistic.html)

Replies are listed 'Best First'.
Re: Re: non-business language
by maverick (Curate) on Mar 22, 2002 at 19:48 UTC
    I remember a few years ago, when the CDA (Communications Decency Act) was the big hot button, someone decided to use the names of the politicians involved with it as substitutions for the indecent words.

    A quick search on Google turned up this description of it. The (suggestive <-- this is your warning) translated text is at the bottom.

    Perhaps we need a user configureable PM output filter where particle could translate the offensive words into the names of the IS dept people {evil grin}

    /\/\averick
    perl -l -e "eval pack('h*','072796e6470272f2c5f2c5166756279636b672');"

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://153553]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-04-19 12:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found