Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

What is JAPH?

by Scarborough (Hermit)
on May 12, 2004 at 15:20 UTC ( [id://352776]=perlquestion: print w/replies, xml ) Need Help??

Scarborough has asked for the wisdom of the Perl Monks concerning the following question:

I may get flamed here, but as we said at school someone else may be thinking this and is to embarrassed to ask as well. What is japh, I read it in the Tk tutorial.
Thanks.

Updated - Steve_p Changed title from "To embarrassed to ask"

Replies are listed 'Best First'.
Re: What is JAPH?
by Roy Johnson (Monsignor) on May 12, 2004 at 15:24 UTC
    perldoc -q japh

    The PerlMonk tr/// Advocate
Re: What is JAPH?
by snadra (Scribe) on May 12, 2004 at 15:24 UTC
    JAPH is a short piece of Perl code that produces th Output:
    Just Another Perl Hacker
    Not more than four lines of code. And no more than 80 characters in each line.

    snadra
      The original JAPH (me) created original JAPHs that were one line of code (mostly) to produce Just another Perl hacker, with precisely those 25 characters of output. Any other definition would be merely a quasi-JAPH. Beware the false japh!

      -- Randal L. Schwartz, Perl hacker
      Be sure to read my standard disclaimer if this is a reply.

Re: What is JAPH?
by Abigail-II (Bishop) on May 12, 2004 at 15:59 UTC
    In one of my talks I classify japhs as having the following characteristics:
    • Short programs, preferably at most four lines, no line exceeding 80 characters (so they can be used as Usenet signatures)
    • Print Just another Perl hacker, or some variation of that regarding punctuation or capitalization.
    • Have obscure or surprising syntax.
    perl -Mstrict -we '$_ = "goto F.print chop;\n=rekcaH lreP rehtona tsuJ +";F1:eval'

    Abigail

      # Have obscure or surprising syntax.

      But then the first JAPH, print "Just another Perl hacker," is not a JAPH!

      Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }

        Surprise comes from an interaction between the event and the expectations of the observer.

        That JAPH is reserved for showing Java Programmers, whose response tends to be, Where's the rest of it? ;-)
Re: What is JAPH?
by Tomte (Priest) on May 12, 2004 at 15:25 UTC

    An abbreviation for "Just Another Perl Hacker" ;-)

    Another meaning: a small chunk of obfuscated perl-code writing "japh" or "Just Another Perl Hacker", preferably in one or two lines.

    I guess, a simple search will enlighten you some more, enjoy!

    regards,
    tomte


    An intellectual is someone whose mind watches itself.
    -- Albert Camus

Re: What is JAPH?
by NovMonk (Chaplain) on May 12, 2004 at 15:29 UTC
    This might help, too. I stumbled across it when I was new, not so very long ago.

    Good Luck.

    Pax,

    NovMonk

Re: What is JAPH?
by hardburn (Abbot) on May 12, 2004 at 15:27 UTC

    Joking AlPaca Ham

    Jodie! Asphalt Pouring! Hmmph!

    Jump A Phlegomatic Horse

    I guess I don't really know, 'cause I'm just another Perl hacker.

    ----
    : () { :|:& };:

    Note: All code is untested, unless otherwise stated

      Sorry, the correct answer is ...

      Jumping Andean Pygmy Hippo

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://352776]
Approved by matija
Front-paged by broquaint
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2024-04-20 03:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found