| 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__ |