Deobfuscate/Dict/Flowers.pm untested

filter: Statementstmt 0.0% 0 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod n/a totaltotal 0.0% 0 / 23 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package B::Deobfuscate::Dict::Flowers;
2  
3 =head1 NAME
4  
5 B::Deobfuscate::Dict::Flowers
6  
7 =cut
8  
9 use strict;
10 use warnings;
11  
12 chomp( my @words = <DATA> );
13 close DATA;
14  
15 for (@words) {
16 tr/'//d;
17 s/[^-\w\n]+/_/g;
18 tr/_//s;
19 s/_([a-z])/\u$1/ig;
20 }
21  
22 ## no critic
23 no strict 'refs';
24 ${ +__PACKAGE__ } = join '', map "$_\n", @words;
25  
26 1;
27  
28 __DATA__