unbleach.pl untested

filter: Statementstmt 0.0% 0 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 0.0% 0 / 9 SCAR -
1 #! /usr/bin/perl -w
2  
3 my $bleached = do{local $/;<>};
4 $bleached =~ s/(.*use\sAcme::Bleach\s*;[^\n]*\n)//xms;
5 my $preamble = $1;
6 my $tie = " \t"x8;
7 $bleached =~ s/^$tie|[^ \t]//g;
8 $bleached =~ tr/ \t/01/;
9 print $preamble, pack "b*", $bleached;