Bacon cipher: Difference between revisions

m
→‎Raku: refactor the use of possibly non-existent nice rakudo internal word wrapping func
(→‎Raku: .. use bound sub-array instead of addressing list of 1-char lists .[0] hack; and minor changes)
m (→‎Raku: refactor the use of possibly non-existent nice rakudo internal word wrapping func)
Line 2,335:
 
my $baconed = bacon $str, $msg;
$baconed .= $baconed.?naive-word-wrapper || $baconed;
# FIXME if "naive-word-wrapper" (elem) "".^method_names; # FIXME^^ makes dbl space after .
say "text:\n$baconed\n";
my $unbaconed = unbacon($baconed).trim.uc;
Anonymous user