Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: A curses-based JAPH

by TheDamian (Priest)
on Dec 11, 2004 at 00:39 UTC ( #414024=note: print w/ replies, xml ) Need Help??


in reply to Re: A curses-based JAPH
in thread A curses-based JAPH

I've never written one. I suppose if I did, my first attempt might look something like:

#?<')I;G0G2G5S="!A;F]T:&5R(%!E<FP@:&%C:V5R)P``` eval<DATA>;sub'_{$_=unpack+u=>$_=>until/u(?{eval})/} __DATA__ seek+DATA=>$%,%$;_%;for<DATA>=~'.(.*.).'


Comment on Re^2: A curses-based JAPH
Download Code
Re^3: A curses-based JAPH
by eyepopslikeamosquito (Canon) on Dec 12, 2004 at 03:36 UTC

    Thanks for that. Very evil, er, nice. /me scribbles some new obfu tricks.

    If I may make a criticism of this first attempt from a JAPH beginner, it is the title. AFAICT, by Perl Monks convention, it should read something like "My First JAPH!!!" and contain a plea to please be kind. ;-)

    Oh, and it's not canonical. To canonicalize, replace the first line with:

    #@<')I;G0G2G5S="!A;F]T:&5R(%!E<FP@:&%C:V5R+"<``
    As a bit of a spoiler, re-formatting the code like this:
    #@<')I;G0G2G5S="!A;F]T:&5R(%!E<FP@:&%C:V5R+"<`` eval<DATA>; sub X { $_ = unpack('u', $_) until /u(?{eval})/ } __DATA__ seek(DATA, 0, 0); X() for <DATA> =~ /.(.*.)./;
    makes it a bit easier to understand.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://414024]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (16)
As of 2014-07-23 20:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (152 votes), past polls