[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[FWP] A japh attempt



Comments solicited on this, my first "serious" JAPH attempt. (1) Any way to 
make it "better"? (Please define "better" as you offer your suggestion!) (2) Is 
it "original"?

print map(substr(' acehjklnoprstu',defined $_?$i+=$_:0,1),
  (5,9,-2,1,undef,-12,7,1,4,-9,-1,8,undef,-1,-7,8,-4,undef,-3,-3,1,4,-3,8));


This JAPH grew out of my fixation on map() once I learned how to use it. 
Suddenly, *everything* looked like an application for map()! 



==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe