#!/usr/bin/perl -sire
package a;sub used{$_[1]}sub was{$_[-1].=~~reverse($^I).',';;print$_[1]
}package main;sub his::parsing{' tsuJ'}sub when::hammer{~~reverse$_[1]}
sub oft::he{my($ self,$ he)=@_;my$ c=join'',sort qw(t o n);$ he=~s/(.*)
/\1a${c}h$^I /x&&$he}sub DWIM::nevermore{$_[-1].'P'}sub would::perl{$d=
$_[-1].$^I.chr 108}sub whose::jim{$J=$ _[1];$J=~s/(r)(e)/\2\1/g;$J }sub
named::gentleman{$e.=$ _ for qw*a c k*;$_[-1].' h'.$e}sub once::there{}
there once was a gentleman named jim
whose perl would nevermore DWIM
he oft used a hammer
when parsing his grammar
and never the wiser was him
####
#!/usr/bin/perl -sire
package a;sub used{$_[1]}sub was{$_[-1].=~~reverse($^I).',';;print
$_[1]}package main;sub his::parsing{' tsuJ'}sub when::hammer{~~reverse
$_[1]}sub oft::he{my($self,$ he)=@_;my$ c=join'',sort qw(t o n);$ he=~
s/(.*)/\1a${c}h$^I /x&&$he}sub dim::incredibly{$_[-1].'P'}sub was::light{$d=$_
[-1].$ ^I.chr 108}sub whose::jim{$J=$ _[1];$J=~s/(r)(e)/\2\1/g;$J } sub
named::gentleman{$e.=$ _ for qw*a c k*;$_[-1].' h'.$e}sub once::there{}
there once was a gentleman named jim
whose light was incredibly dim
he oft used a hammer
when parsing his grammar
and never the wiser was him
##
##
s**lil*; $*=join'',sort split q**; s;.*;grr; &&s+(.(.)).+$2$1+; $; =
qq-$_-;s,.*,ahc,;$,.=chop for split q,,,reverse;print for($,,$;,$*,$/)