It's very simple, but can be tricky
$_=q(JAPH : What a JAPH is? Is a "little" (or not) perl script
which prints "Just another Perl hacker" or "JAPH".
It could be very long and ofuscated :( or simple and easy
For example perl -e 'print "JAPH"' is the most basic JAPH.
We can find extremely difficult and ofuscated JAPH.
This is a game, is very funny, There is more than one way to do
it, so we can make infinites 'JAPH'. Go on! Make your Just
another Perl hacker and be the most original);
$_='JAPH';
print $_;
die "See you soon baby... $_";
die "Not dead $_?"=> $_= eval(23/0); #Divide by cero
@data=<DATA>;
chomp @data; @data=map{eval}@data;
@data=grep{/JAPH/ or /Just another Perl hacker/}@data;
print join "\n",@data;
__END__
$_='Just another Perl Hacker';
$_=$|=$);
s, .*,,s,print;
Hopes
In reply to Very simple
by hopes
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.