Created
January 15, 2011 20:59
-
-
Save creaktive/781249 to your computer and use it in GitHub Desktop.
Perl troll face
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print (('F' x 1000) . ('U' x 900) . ('!' x 20) . "\n"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use strict; | |
use warnings 'all'; | |
use utf8; | |
use Acme::EyeDrops qw(sightly); | |
#convert -sample 54x24! -colors 2 trollface.png trollface.xpm; tail -n +8 trollface.xpm | tr '. ' ' #' > trollface.pl | |
my $trollface = <<'TROLLFACE'; | |
###################### ######## | |
########################## ### ###### | |
#################### ########### ## #### | |
############# ################### # ###### | |
######## ############ # ########## | |
## # ###### ## ## ### | |
# # ############# ###### ##### ####### ## | |
## # # # #### ################ #### ### #### | |
## ### ######## ######## ############ ### ### | |
#### ##### ####### ## ######## #### ### ### | |
### ####### # ####### ## ### ### ##### # | |
### # ######## ##### # ####### | |
### # ## ### #### ###### # ## ####### | |
## #### ####### | |
### #### ##### ######## | |
#### # ## # ##### ###### # ######### | |
##### ## # ## #### ##### #### ##### | |
########## ###### ### ## | |
###### ################### ### ### | |
#### ################## ##### | |
######################### | |
################## | |
TROLLFACE | |
print sightly({ | |
ShapeString => $trollface, | |
SourceFile => 'fu.pl', | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
eval eval '"'. | |
('['^'+').('['^"\)").( '`'|')') | |
.('`'|'.').('['^'/').('{'^ '[' ).'('. | |
'('."'".('`'^('&')). "'".(('{')^ (( '[') | |
)).('['^'#'). ('{'^'[').('^'^('`' | '/')). | |
(('^')^( '`'|"\.")).( ( '^')^('`'| | |
(( ( '.'))) )) .( '^' | |
^ ( '`'|'.')).')' .('{'^ '['). ('.').( (( | |
(( ( ( ( '{') ))))))^'[').'('. "'". ((( '{') | |
)^ '.' )."\'".( '{'^'[') .('['^'#').( '{' ^(( | |
'[') )).+( ';'&'=' ). (('^')^( '`'| '.' )). | |
((( '^'))^( ( ('`'))| (( '.' ))) ).')' . | |
((( ( "\{")))^ '['). ( "\.").( | |
'{' ^ (( '[' ))). ('('). ( (( "'"))). | |
(( '!') )."'".( | |
'{' ^'[' ).''. ('['^'#' | |
).+( ( (( ( '{')) ))^'[' ) .(('^')^( | |
"\`"| (( ( (( ',') ))))) ).+( '^'^( | |
'`'|'.')). "\)".( '{' ^+ | |
"\["). '.'.('{'^'[').'\\'. '"' .(( | |
'\\' )).'\\'.('`'|'.'). '\\'. | |
'"'.')'.';'.('!'^'+').'"' | |
;$:='.'^'~';$~='@' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment