My JAPH Vampire. Not as fancy as some I've seen here, but hey, it killed a couple hours.
#! perl -w
%a=(N,10,X,32,P,43,
M,45,F,47 ,B,92,L,95,U
,124,D,68, G,71);undef
$/;@_= split/\s+/
,<DATA>; chomp;$n=
join '', @_;@_=split
'',$n; foreach
(@_) {print chr( $a{$_});} __DATA__
NXXX XXMPMXXX UXXXXX XXXXXX
XUXU XXXXXX XXUB XXXXU
XXUX XXX XXU NX XXXX
XUUU FMPMX XFBX
UFB FBMPM UFB
FFU F X X UFF
FUF UXXUF BFB
XFU F F FUF
NXX XX XL UBF
BXU XXXB FBUX UBF
XUX UXUBFUXXXUXBFU XUX
XUX U BFBBUBBF U XXXX
XXX X NXXX X XXXX
XFX NXX
XXXX XXXX
XXXXX XXXXX
XXXX XXXXX
XXXXXXN
Note: I've only tested this on NT, but I think it ought to work across the board. If not, Please let me know.
Update: Seems to run correctly on NT, Linux, NetBSD and Solaris 7.
In reply to JAPV
by DamnDirtyApe
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.