develooper Front page | perl.fwp | Postings from September 2001

Re: World's Largest JAPH

Thread Previous | Thread Next
Bart Lateur
September 11, 2001 04:46
Re: World's Largest JAPH
Message ID:
On Tue, 11 Sep 2001 08:56:54 +1000, wrote:

>Just to clarify, the JAPH starts with the line:
>    '%'=~
>not with:
>    open 0;
>Your leading junk looks suspiciously like the original ASCII
>program from which the JAPH was generated (with a leading
>#! perl -w added). If you delete these lines from the file,
>, say, then run with:
>  perl
>the leading junk and the warnings should disappear.

OK, it looks like you'll have to walk me through this.

If I keep the lot, it works. Er, no... it prints the banner twice. I
thought the "regex" was a noop, apparently it's not. It must be
"equivalent" to the original code. What both do is take its own source,
replace most characters with "#", and print it out.

But how is the japh "generated" from this code? Are you saying there's a
"banner" program that turns plain source into this kind of weird shit?
Still with the original functionality as a perl script?


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About