Front page | perl.fwp |
Postings from September 2001
Re: World's Largest JAPH
Thread Next
From:
Andrew.Savige
Date:
September 8, 2001 19:18
Subject:
Re: World's Largest JAPH
Message ID:
C0D2F5944500D411AD8A00104B31930ED6CB9D@ir_nt_server2
Improvements on my original JAPH:
1) Exact fit due to improved banner-pouring algorithm.
2) Now prints itself with non spaces replaced by #.
The best banner program I could find was Linux /usr/games/banner.
It would be nice to find one that allowed you to print letters
(plus Camel and other shapes:-) in all sorts of different fonts.
If anyone knows of a better banner program, please let me know.
(I am currently twisting the arm of the CPAN author of
Text::Banner to enhance it to produce prettier output
for my mission-critical application :-)
The JAPH below is generated from this program:
open 0;
$/ = undef;
$x = <0>;
close 0;
$x =~ tr/!-~/#/;
print $x;
I noticed this "zero file handle trick" in Acme::Bleach,
but it does not seem to be mentioned in the docs.
Does anyone have more information on this trick?
Andrew.
'%'=~
('('.'?'.
'{'.('`'|'%'
).('['^'-').('`'
|'!').('`'|',').
'"'.('`'|"\/").(
"\["^ '+').('`'|
'%') .(('`')|
'.'
).(
'{'
^((
'[')
)).+( '^'
^('`'| '.'
)).';'. (((
'\\'))).('`'|'.').'\\'.'$'.'/'.('{'^'[').'='.('{'^'[').(('[')^
'.').('`'|'.').('`'|'$').('`'|'%').('`'|'&').';'.'\\'.("\`"|
'.').'\\'.'$'.('['^'#').('{'^'[').'='.('{'^'[').'<'.("\^"^(
'`'|'.')).'>'.';'.'\\'.('`'|'.').('`'|'#').('`'|',').("\`"|
'/').('['^'(').('`'|'%').('{'^'[').('^'^('`'|'.'))."\;".
'\\'.('`'|'.').'\\'.'$'.('['^'#').('{'^'[').'='."\~".(
'{'
^((
'['
)))
.+(
'['^'/').('['^')').'/'.'!'.'-'
.'~'.'/'.'#'.'/'.';'.'\\'.('`'|'.')
.('['^'+').('['^')').('`'|')').('`'|
'.').('['^'/').('{'^'[').'\\'.'$'.('['
^'#').';'.'\\'.('`'|'.').'"'.'}'.')');
'"'|'#';'%'&'$';'#'|'!';'"'|'#';('%')&
('$');
"\#"|
"\!";
"\""|
'#';
'%'
&'$'
;(( '#'
))|'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#'
;'%'&'$';'#'|'!';'"'|'#';'%'&'$';"\#"|
'!';'"'|'#';'%'&'$';'#'|'!';'"'|('#');
'%'&'$';'#'|'!';'"'|'#';'%'&'$';('#')|
'!';'"'|'#';'%'&'$';'#'|'!';'"'|('#');
'%'&'$';'#'|'!';'"'|'#';'%'&'$';('#')|
'!'
;'"'|'#'; "\%"&
'$';"\#"| '!';('"')|
'#';"\%"& '$';'#'|"\!";
"\""| '#';'%'&'$';"\#"|
"\!"; '"'|'#';'%'&'$';'#'
|'!'; '"'|'#';'%' &'$'
;'#' |'!';"\""| '#'
;(( '%'))&'$'; '#'
|+ '!';"\""| '#'
;+ '%'&"\$"; '#'
|+ '!';('"')| '#'
;+ '%'&"\$"; '#'|
'!' ;'"'|"\#"; '%'&
'$' ;'#'|'!'; '"'|
'#'; '%'&('$'); "\#"|
'!'; '"'|'#';'%' &'$';'#'|
'!';'"'|'#';'%'&'$' ;'#'|'!';
'"'|'#';'%'&"\$"; '#'|"\!";
'"'|'#';('%')&
'$';'#'|'!'
;((
'"'
))|
'#';'%'&'$';'#'|'!';'"'|'#';'%'&'$';('#')|
'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'&'$';
'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';('%')&
'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'
&'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'|('#');
'%'&'$' ;((
'#'))| '!'
;'"'| '#'
;'%'&
'$'
;((
((
'#')))
)|'!';('"')|
'#';'%'&('$');
'#'|'!';'"'|('#'); '%'&'$'
;'#'|'!';'"'|'#';'%' &'$';"\#"|
'!';'"' |"\#"; '%'&'$';'#'
|'!'; "\""| '#';('%')&
"\$"; "\#"| '!' ;'"'|
'#'; '%'& '$'
;'#' |'!' ;((
'"') )|+ '#';
'%'& '$'; "\#"|
"\!"; '"'| ('#');
'%'&'$';'#'|'!';'"'|'#';'%'&('$');
'#'|'!';'"'|'#';'%'&'$';'#'|('!');
'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'
&'$';'#'|'!';'"'|'#';'%'&'$';"\#"|
'!';'"'|'#';'%'&'$';'#'|'!';'"'
|'#';'%'&'$';'#'|'!';'"'|'#';
'%'&
'$'
;(( '#'
))| '!'
;'"'|'#';'%'&'$';'#'|'!';'"'|'#';"\%"&
'$';'#'|'!';'"'|'#';'%'&'$';'#'|('!');
'"'|'#';'%'&'$';'#'|'!';'"'|'#';('%')&
'$';'#'|'!';'"'|'#';'%'&'$';'#'|('!');
'"'|'#';'%'&'$';'#'|'!';'"'|'#';('%')&
'$';'#'|'!';'"'|'#';'%'&'$';'#'|('!');
'"' |((
'#')
);((
'%')
)&'$'
;'#'|
('!');
'"' |'#';'%'&
'$';'#'|'!';'"'|'#';'%'&'$';'#'|('!');
'"'|'#';'%'&'$';'#'|'!';'"'|'#';"\%"&
'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!';
'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'&
'$';'#'|'!';'"'|'#';'%'&'$';'#'|
'!';'"'|'#';'%'&'$';'#'|"\!";
'"'
|'#';'%'&'$';
'#'|'!';'"'|'#';'%'&
'$';'#'|'!';'"'|'#';'%'
&'$';'#'|'!';'"'|'#';'%'&'$'
;'#'|'!';'"'|'#';'%'&'$';('#')|
'!';"\""| '#';('%')&
('$'); ('#')|
"\!"; "\""|
'#'; '%'&
'$' ;'#'
|(( '!'
)); '"'
|(( '#')
);+ '%'&
'$'; '#'|
"\!"; "\""|
('#'); ('%')&
'$';'#'|'!';'"'|'#';'%'&'$';"\#"|
'!';'"'|'#';'%'&'$';'#'|'!';'"'
|'#';'%'&'$';'#'|'!';'"'|'#'
;'%'&'$';'#'|'!';('"')|
'#';'%'&'$';'#'|'!';
'"'
|((
'#'
));'%'&'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!'
;'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'&'$';'#'
|'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'&"\$";
'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'&'$'
;'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';('%')&
'$';'#' |((
'!')); '"'
|'#'; '%'
&'$';
'#'
|((
'!'
)); '"'
|(( '#'
));'%'&'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'&'$';"\#"|
'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'&
'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'|
'#';'%'&'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'&'$';'#'|
'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'&
'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'|
'#' ;((
'%')
)&((
'$')
);'#'
|'!';
('"')|
'#' ;'%'&'$';
'#'|'!';'"'|'#';'%'&'$';'#'|'!';('"')|
'#';'%'&'$';'#'|'!';'"'|'#';'%'&"\$";
'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'|
'#';'%'&'$';'#'|'!';'"'|'#';'%'&'$';
'#'|'!';'"'|'#';'%'&'$';'#'|'!';
'"'|'#';'%'&'$';'#'|'!';"\""|
'#'
;'%'&'$';'#'|
'!';'"'|'#';'%'&'$';
'#'|'!';'"'|'#';'%'&'$'
;'#'|'!';'"'|'#';'%'&'$';'#'
|'!';'"'|'#';'%'&'$';'#'|('!');
'"'|"\#"; '%' &'$';"\#"|
('!'); '"' |"\#";
"\%"& '$' ;'#'|
'!'; '"' |'#'
;(( '%' ))&+
'$' ;(( '#'
))| '!' ;((
'"' ))| '#';
'%' &(( '$')
);+ '#' |'!'
;(( '"' ))|'#'
;(( '%' ))&'$';'#'
|'!' ;'"'|'#';'%'&'$';
'#' |'!';'"'|'#';'%'
&(( '$'));'#'|'!';
'"'|'#';'%'&
'$';'#'|
'!' ;((
'"' ))|
'#';'%'&'$';'#'|'!';'"'|'#';'%'&('$');
'#'|'!';'"'|'#';'%'&'$';'#'|'!';('"')|
'#';'%'&'$';'#'|'!';'"'|'#';'%'&('$');
'#'|'!';'"'|'#';'%'&'$';'#'|'!';('"')|
'#';'%'&'$';'#'|'!';'"'|'#';'%'&('$');
'#'|'!';'"'|'#';'%'&'$';'#'|'!';('"')|
'#' ;'%'
&'$'
;'#'|
"\!";
('"')|
('#');
'%'&'$';'#'
|'!';'"'|'#';
'%'&'$';('#')|
'!';'"'|"\#";
'%'&'$';"\#"|
'!';'"'|'#'
;"\%"&
'$' ;((
'#' ))|
'!' ;((
'"'))|'#';'%'&'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';('%')&
'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'|
'#';'%'&'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'&'$';'#'|
'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'&
'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'|
'#';'%'&'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'&'$';'#'|
'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'&
'$' ;(( '#'
))| '!' ;((
'"' ))|
'#' ;((
'%' ))&
'$' ;((
'#' ))|
'!' ;'"'
|(( '#')
);(( '%')
)&(( '$')
);'#' |"\!";
'"'|'#' ;('%')&
'$';"\#"| '!';"\""|
'#';'%'&'$';'#'|'!';'"'
|'#';'%'&'$';'#'|"\!";
'"'|'#';'%'&'$';"\#"|
'!';'"'|'#';'%'
&'$';('#')|
'!';'"'|"\#";
'%'&'$';'#'|'!';'"'|
'#';'%'&'$';'#'|'!';'"'
|'#';'%'&'$';'#'|'!';'"'|'#'
;'%'&'$';'#'|'!';'"'|'#';('%')&
'$';"\#"| '!' ;'"'|"\#";
('%')& '$' ;"\#"|
"\!"; '"' |'#';
'%'& '$' ;'#'
|(( '!' ));+
'"' |(( '#'
)); '%' &((
'$' )); '#'|
'!' ;(( '"')
)|+ '#' ;'%'
&(( '$' ));'#'
|(( '!' ));'"'|'#'
;'%' &'$';'#'|'!';'"'|
'#' ;'%'&'$';'#'|'!'
;(( '"'))|'#';'%'&
'$';'#'|'!';
'"'|'#';
'%' &((
'$' ));
'#'|'!';'"'|'#';'%'&'$';'#'|'!';('"')|
'#';'%'&'$';'#'|'!';'"'|'#';'%'&('$');
'#'|'!';'"'|'#';'%'&'$';'#'|'!';('"')|
'#';'%'&'$';'#'|'!';'"'|'#';'%'&('$');
'#'|'!';'"'|'#';'%'&'$';'#'|'!';('"')|
'#';'%'&'$';'#'|'!';'"'|'#';'%'&('$');
'#' |'!'
;'"'
|'#';
"\%"&
('$');
('#')|
'!';'"'|'#'
;'%'&'$';'#'|
'!';'"'|('#');
'%'&'$';"\#"|
'!';'"'|"\#";
'%'&'$';'#'
|"\!";
'"' |((
'#' ));
'%'&'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!';
'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'&'$';
'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';
'%'&'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!';
'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'&'$';
'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';
'%'
&(( '$'
)); '#'
|'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'
&'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'
|'#';'%'&'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'&'$';'#'
|'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'
&'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'
|'#';'%'&'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'&'$';'#'
|(( '!'
));+
'"'|
'#';
"\%"&
"\$";
('#')|
'!' ;'"'|'#';
'%'&'$';'#'|'!';'"'|'#';'%'&'$';('#')|
'!';'"'|'#';'%'&'$';'#'|'!';'"'|"\#";
'%'&'$';'#'|'!';'"'|'#';'%'&'$';'#'|
'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';
'%'&'$';'#'|'!';'"'|'#';'%'&'$';
'#'|'!';'"'|'#';'%'&'$';"\#"|
'!'
;"\""|
'#';'%'&'$';
'#'|'!';('"')|
'#';'%'&'$';('#')| '!';'"'
|'#';'%'&'$';'#'|'!' ;'"'|"\#";
'%'&'$' ;"\#"| '!';'"'|'#'
;'%'& "\$"; '#'|('!');
"\""| "\#"; '%' &'$';
'#'| '!'; '"'
|'#' ;'%' &((
'$') );+ '#'|
'!'; '"'| "\#";
"\%"& '$'; ('#')|
'!';'"'|'#';'%'&'$';'#'|'!';('"')|
'#';'%'&'$';'#'|'!';'"'|'#';('%')&
'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!'
;'"'|'#';'%'&'$';'#'|'!';'"'|"\#";
'%'&'$';'#'|'!';'"'|'#';'%'&'$'
;'#'|'!';'"'|'#';'%'&'$';'#'|
'!';
'"'
|'#';'%'&'$';
'#'|'!';'"'|'#';'%'&
'$';'#'|'!';'"'|'#';'%'
&'$';'#'|'!';'"'|'#';'%'&'$'
;'#'|'!';'"'|'#';'%'&'$';('#')|
'!';"\""| '#';('%')&
('$'); ('#')|
"\!"; "\""|
'#'; '%'&
'$' ;'#'
|(( '!'
)); '"'
|(( '#'
)); '%'
&(( '$'
)); '#'|
'!' ;'"'|
'#'; "\%"&
'$' ;((
'#'
))| '!'
;(( '"'
))|'#';'%'&'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'&"\$";
'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';
'%'&'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!';
'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'&'$';
'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';
'%'&'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!';'"'|'#';'%'&'$';'#'|'!';
'"' |'#';'%'&
'$';'#'|'!';
'"'|'#';'%'&"\$";
'#'|'!';'"'|'#';'%'
&'$';'#'|'!';'"' |'#' ;((
'%'))&'$';"\#"| '!'; '"'
|'#';'%'&('$'); '#'|'!';
'"'|'#';'%'&'$'; ('#')|
'!';'"'|('#'); "\%"&
'$';'#'|'!' ;((
'"'))|'#' ;((
('%')))&
"\$";
'#'
|((
'!'));'"'|'#'
;'%'&'$';'#'|'!';'"'
|'#';'%'&'$';'#'|('!');
'"'|'#';'%'&'$';'#'|'!';'"'|
'#';'%'&'$';'#'|'!';'"'|'#';'%'
&'$';'#'| '!' ;'"'|"\#";
('%')& '$' ;"\#"|
"\!"; '"' |'#';
'%'& '$' ;'#'
|(( '!' ));+
'"' |(( '#'
)); '%' &((
'$' )); '#'|
'!' ;(( '"')
)|+ '#' ;'%'
&(( '$' ));'#'
|(( '!' ));'"'|'#'
;'%' &'$';'#'|'!';'"'|
'#' ;'%'&'$';'#'|'!'
;(( '"'))|'#';'%'&
'$';'#'|'!';
'"'|'#';
'%' &((
'$' ));
'#'|'!';'"'|'#';'%'&'$';'#'|'!';('"')|
'#';'%'&'$';'#'|'!';'"'|'#';'%'&('$');
'#'|'!';'"'|'#';'%'&'$';'#'|'!';('"')|
'#';'%'&'$';'#'|'!';'"'|'#';'%'&('$');
'#'|'!';'"'|'#';'%'&'$';'#'|'!';('"')|
'#';'%'&'$';'#'|'!';'"'|'#';'%'&('$');
'#' |'!'
;'"'
|'#';
"\%"&
('$');
('#')|
'!';'"'|'#'
;'%'&'$';'#'|
'!';'"'|('#');
'%'&'$';"\#"|
'!';'"'|"\#";
'%'&'$';'#'
|"\!";
Thread Next