0
''=~('('.                         '?'.'{'.(
          '`'|'%').('['^'-')               .('`'|'!').(('`')|
       ',').'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
Upcoming SlideShare
Loading in...5
×

Genesis200902 sugyan

1,075

Published on

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

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,075
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "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
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×