- or download this
open 0 or print "Can't rebleach '$0'\n" and exit;
- or download this
(my $shirt = join "", <0>) =~ s/.*^\s*use\s+Acme::Bleach\s*;\n//sm;
- or download this
local $SIG{__WARN__} = \&dirty;
- or download this
do { eval brighten $shirt; exit }
unless dirty $shirt && not dress $shirt;
- or download this
sub brighten {
local $_ = pop;
...
tr/ \t/01/;
pack "b*", $_
}
- or download this
open 0, ">$0" or print "Cannot bleach '$0'\n" and exit;
- or download this
print {0} "use Acme::Bleach;\n", whiten $shirt and exit;
- or download this
sub whiten {
local $_ = unpack "b*", pop;
...
s/(.{9})/$1\n/g;
$tie.$_
}