This works on both on Unix and Windows. Enjoy :-)
#!/usr/bin/perl -w
my@j=qw(j a p h);my@s=(" "," "," "," "," "," ");my$r="\
+n";my$t="\t";print"$r";print"$j[0]"x7,"$t$t$j[1]$t$s[5]$s[1]","$j[2]"
+x5,"$t$s[2]$j[3]$s[1]$j[3]$r";print"$s[2]$j[0]$t$s[5] $j[1]$s[0]$j[1]
+$t$s[5]$s[1]$j[2]$s[3]$j[2]$s[4]$j[3]$s[1]$j[3]$r";print"$s[2]$j[0]$t
+$s[5]","$j[1]"x5,"$t$s[5]$s[1]","$j[2]"x5,"$s[5]","$j[3]"x4,"$r";prin
+t"$j[0]$s[1]$j[0]$t$s[4]$j[1]$s[4]$j[1]$s[5]$s[5]$j[2]$s[5]$s[3]$j[3]
+$s[1]$j[3]$r";print"$s[0]$j[0]$j[0]$s[1]ust$s[3]$j[1]$t$s[3]$j[1]$s[0
+]nother$s[3]$j[2]$s[3]erl$s[2]$j[3]$s[1]$j[3]$s[0]acker$r$r";
RedDog
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.