''=~('('.                         '?'.'{'.(
          '`'|'%').('['^'-')               .('`'|'!').(('`')|
       ',').'quo...
''=~(quot;(quot;.
    '?'.
    '{'.
    ('`'
    |'%'
    ).+(
    '['^
    '-')
    .''.
    ('`'
    |'!'               ...
''=~('(?{'.(
'[))@[]^`[@@@~,@[@?~!._'^
'+[@./}|(>,,/^{/),[_}@}'
).'})')
$a='printquot;Hello World!nquot;';
eval $a;
''=~('(?{'.
    'printquot;Hello World!nquot;'
        .'})')
'p'=>0x70
   =>01110000
0^0   =   0
0^1   =   1
1^0   =   1
1^1   =   0
'['=>01011011
'+'=>00101011
'['=>01011011
'+'=>00101011
     01110000
'p'=>01110000
('['^'+') eq 'p'
(')'^'[') eq 'r'
(')'^'@') eq 'i'
('@'^'.') eq 'n'
('['^'/') eq 't'
('[))@['^
 '+[@./') eq
 'print'
''=~('(?{'.(
'[))@[]^`[@@@~,@[@?~!._'^
'+[@./}|(>,,/^{/),[_}@}'
).'})')
#!/usr/bin/perl
use strict;
use warnings;
use Acme::EyeDrops qw(sightly);

my $shape = `banner -w 36 Love`;
my $source = '...
''=~(quot;(quot;.
    '?'.
    '{'.
    ('`'
    |'%'
    ).+(
    '['^
    '-')
    .''.
    ('`'
    |'!'               ...
$ perl -e 'quot;quot;!~(quot;(?{quot;.(quot;+,@.)]}(>,,/^_@/
@?|!@^quot;^quot;[^)@]}_`[@@@~(/],[]}.|quot;).quot;})quot;)'
...
#!/usr/bin/perl
length q chr uc and print chr ord uc
q chop uc and print chr ord q ne sin
and print chr ord qw q le q and ...
Genesis200902 sugyan
Genesis200902 sugyan
Genesis200902 sugyan
Genesis200902 sugyan
Genesis200902 sugyan
Genesis200902 sugyan
Genesis200902 sugyan
Genesis200902 sugyan
Genesis200902 sugyan
Genesis200902 sugyan
Genesis200902 sugyan
Genesis200902 sugyan
Genesis200902 sugyan
Genesis200902 sugyan
Genesis200902 sugyan
Genesis200902 sugyan
Genesis200902 sugyan
Genesis200902 sugyan
Genesis200902 sugyan
Genesis200902 sugyan
Genesis200902 sugyan
Genesis200902 sugyan
Genesis200902 sugyan
Genesis200902 sugyan
Genesis200902 sugyan
Genesis200902 sugyan
Genesis200902 sugyan
Genesis200902 sugyan
Genesis200902 sugyan
Genesis200902 sugyan
Genesis200902 sugyan
Genesis200902 sugyan
Genesis200902 sugyan
Genesis200902 sugyan
Genesis200902 sugyan
Genesis200902 sugyan
Genesis200902 sugyan
Genesis200902 sugyan
Genesis200902 sugyan
Genesis200902 sugyan
Genesis200902 sugyan
Genesis200902 sugyan
Genesis200902 sugyan
Prochain SlideShare
Chargement dans…5
×

Genesis200902 sugyan

1 364 vues

Publié le

2009年2月25日 Genesis Lightning Talks Vol. 13
発表資料

Publié dans : Technologie
0 commentaire
0 j’aime
Statistiques
Remarques
  • Soyez le premier à commenter

  • Soyez le premier à aimer ceci

Aucun téléchargement
Vues
Nombre de vues
1 364
Sur SlideShare
0
Issues des intégrations
0
Intégrations
90
Actions
Partages
0
Téléchargements
4
Commentaires
0
J’aime
0
Intégrations 0
Aucune incorporation

Aucune remarque pour cette diapositive

Genesis200902 sugyan

  1. 1. ''=~('('. '?'.'{'.( '`'|'%').('['^'-') .('`'|'!').(('`')| ',').'quot;'.('['^'+').('['^ ')').('`'|')').('`'|'.') .('['^'/').('{'^'[').(''). 'quot;'.('`'^'(').('`'|'%').('`' |',').('`'|',').('`'|'/').(quot;{quot;^ '[').('['^',').('`'|'/').(('[')^ ')').('`'|',').('`'|'$').'!'.''.''.('`'|'.').''.'quot;'.'quot;'.quot;}quot;. ')');$:='.'^'~';$~='@'|'(';$^=')'^'[';$/='`'|'.';$,='('^'}';$=('`')| '!';$:=')'^'}';$~='*'|'`';$^='+'^'_';$/='&'|'@';$,='['&'~';$=','^quot;|quot;; $:='.'^'~';$~='@'|'(';$^=')'^'[';$/='`'|'.';$,='('^'}';$='`'|('!');$:= ')'^'}';$~='*'|'`';$^='+'^'_';$/='&'|'@';$,='['&'~';$=','^'|';$:=quot;.quot;^ '~';$~='@'|'(';$^=')'^'[';$/='`'|'.';$,='('^'}';$='`'|'!';$:=')'^'}' ;$~='*'|'`';$^='+'^'_';$/='&'|'@';$,='['&'~';$=','^'|';$:='.'^'~';$~ ='@'|'(';$^=')'^'[';$/='`'|'.';$,='('^'}';$='`'|'!';$:=')'^'}';$~= '*'|'`';$^='+'^'_';$/='&'|'@';$,='['&'~';$=','^'|';$:='.'^'~';$~ ='@'|'(';$^=')'^'[';$/='`'|'.';$,='('^'}';$='`'|'!';$:=quot;)quot;^ '}';$~='*'|'`';$^='+'^'_';$/='&'|'@';$,='['&'~';$=(',')^ '|';$:='.'^'~';$~='@'|'(';$^=')'^'[';$/='`'|('.');$,= '('^'}';$='`'|'!';$:=')'^'}';$~='*'|'`';$^='+' ^'_';$/='&'|'@';$,='['&'~';$=','^'|';$:= '.'^'~';$~='@'|'(';$^=')'^('[');$/= '`'|'.';$,='('^'}';$=('`')| '!';$:=')'^'}';$~='*' |'`';$^=quot;+quot;^ '_';$/= '&' ;
  2. 2. ''=~(quot;(quot;. '?'. '{'. ('`' |'%' ).+( '['^ '-') .''. ('`' |'!' ).('`'|',' ).quot;quot;quot;.( '['^ '+').('['^ ')') .( '`'| ')') .( (( (( '`') )))| '.') .''. +( '['^ '/') .''. ('{' ^'[' ).(( (( '' )))) .'quot;' .( '`'^ '(') .( (( (( '`') )))| '%') .('`'| (( ',') )).( '`'| ',') .''. ('`' |+ '/').('{'^('[')).( '['^ ',') .''. ('`' |+ '/').('['^(')')).( '`'| ',') .''. (quot;`quot;| '$') .'!' .+ (( '' )).''. (( '' )) .''. ('`' |'.'). '' .'quot;' .+ 'quot;'. '}'. ')') ;$:= (( '.') )^(( (( '~') )) ); $~ ='@'|'(';$^=')'^quot;[quot;;$/= '`'|'.';$, =( '(')^quot;}quot;;
  3. 3. ''=~('(?{'.( '[))@[]^`[@@@~,@[@?~!._'^ '+[@./}|(>,,/^{/),[_}@}' ).'})')
  4. 4. $a='printquot;Hello World!nquot;'; eval $a;
  5. 5. ''=~('(?{'. 'printquot;Hello World!nquot;' .'})')
  6. 6. 'p'=>0x70 =>01110000
  7. 7. 0^0 = 0 0^1 = 1 1^0 = 1 1^1 = 0
  8. 8. '['=>01011011 '+'=>00101011
  9. 9. '['=>01011011 '+'=>00101011 01110000
  10. 10. 'p'=>01110000
  11. 11. ('['^'+') eq 'p'
  12. 12. (')'^'[') eq 'r'
  13. 13. (')'^'@') eq 'i'
  14. 14. ('@'^'.') eq 'n'
  15. 15. ('['^'/') eq 't'
  16. 16. ('[))@['^ '+[@./') eq 'print'
  17. 17. ''=~('(?{'.( '[))@[]^`[@@@~,@[@?~!._'^ '+[@./}|(>,,/^{/),[_}@}' ).'})')
  18. 18. #!/usr/bin/perl use strict; use warnings; use Acme::EyeDrops qw(sightly); my $shape = `banner -w 36 Love`; my $source = 'print quot;Hello world!nquot;'; print sightly({ ShapeString => $shape, SourceString => $source, Regex => 1, Rotate => 270, });
  19. 19. ''=~(quot;(quot;. '?'. '{'. ('`' |'%' ).+( '['^ '-') .''. ('`' |'!' ).('`'|',' ).quot;quot;quot;.( '['^ '+').('['^ ')') .( '`'| ')') .( (( (( '`') )))| '.') .''. +( '['^ '/') .''. ('{' ^'[' ).(( (( '' )))) .'quot;' .( '`'^ '(') .( (( (( '`') )))| '%') .('`'| (( ',') )).( '`'| ',') .''. ('`' |+ '/').('{'^('[')).( '['^ ',') .''. ('`' |+ '/').('['^(')')).( '`'| ',') .''. (quot;`quot;| '$') .'!' .+ (( '' )).''. (( '' )) .''. ('`' |'.'). '' .'quot;' .+ 'quot;'. '}'. ')') ;$:= (( '.') )^(( (( '~') )) ); $~ ='@'|'(';$^=')'^quot;[quot;;$/= '`'|'.';$, =( '(')^quot;}quot;;
  20. 20. $ perl -e 'quot;quot;!~(quot;(?{quot;.(quot;+,@.)]}(>,,/^_@/ @?|!@^quot;^quot;[^)@]}_`[@@@~(/],[]}.|quot;).quot;})quot;)' Hello world!
  21. 21. #!/usr/bin/perl length q chr uc and print chr ord uc q chop uc and print chr ord q ne sin and print chr ord qw q le q and print chr ord q else and print chr ord q pop and print chr ord qq q q and print chr ord uc q qw eq and print chr ord q local and print chr ord q qr q and print chr ord q else and print chr ord qw q do q and print chr hex length q q bless localtime ref q and print chr length q continue vec

×