My first JAPH ever. I'm rather new to Perl (only been at it for a day or two).perl -e '$c="ePreh";$k="tonat";$h="ckeJ";$a="ahlr"; $h=reverse($h);$e=$h.$a.$c.$k."sur"; (substr($e,0,1),substr($e,-1))=(substr($e,-1),substr($e,0,1)); $e=reverse($e);$e=~s/stan/st an/;$e=~s/rP/r P/;$e=~s/rlh/rl h/; $e.="\n";print($e);'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Word games
by machinecraig (Monk) on Mar 04, 2005 at 19:44 UTC |