The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
package DemoSwear;
$VERSION = '0.01';
use Regexp::Common;

use Filter::Simple;

FILTER_ONLY
	all    => sub { print "-------\n$_" },
	string => sub { s/$RE{profanity}/darn/g },
	all    => sub { print "-------\n$_" },
	code   => sub { s/$RE{profanity}|[@%#&*]{3,}([-]\S+)?//g },
	all    => sub { print "-------\n$_" },