After fighting with this code for about 15 minutes i have finally comeup with this.

$#_=-1;$|++;for(\pos,\&_,\\$_){$_[++$#_]=chr(ord(substr$_,$[,$|)-2)};$ +_[++$#_]=substr\%_,$[,$|;print for@_;

I think still this code can be further optmised.

Any suggestions welcome.

Thank you.

--Murugesan--

Replies are listed 'Best First'.
Re: My First JAPH
by Anonymous Monk on Jul 31, 2004 at 08:04 UTC
      why don't you get a sack and post non-anonymously? I think anyone who posts an original JAPH deserves some credit.

      of course, a real JAPH should print out more than 4 chars *rolleyes*