Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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
Replies are listed 'Best First'.
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 meditating upon the Monastery: (10)
As of 2015-07-08 08:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (97 votes), past polls