Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: My first JAPHby teamster_jr (Curate) |
on Mar 18, 2004 at 11:42 UTC ( [id://337660]=note: print w/replies, xml ) | Need Help?? |
how's this? it works using the routines as yours, just written differently - and it should still work under strict and warnings.. there's a spoiler here:
I've dropped $J and $h - and rolled it all into a single routine:
al$_="jsreutPJpl";s/$&/$p=pos/e; and @j and a foreach loop is replaced with a regex. The part that adds the . is moved out of the loop and moved to a regex.
In Section
Obfuscated Code
|
|