Your SlideShare is downloading. ×
Perl と人生(Perl and Life)
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Perl と人生(Perl and Life)

25,606

Published on

YAPC Asia 2012 Lightning Talks Day 1

YAPC Asia 2012 Lightning Talks Day 1

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

No Downloads
Views
Total Views
25,606
On Slideshare
0
From Embeds
0
Number of Embeds
13
Actions
Shares
0
Downloads
12
Comments
0
Likes
16
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Transcript

    • 1. Perl と人生Perl and lifeMayumi Takahashi
    • 2. Hello Everyone!
    • 3. みなさんこんばんわ! Hello Everyone!
    • 4. 現在絶賛エンジニア募集中の シックス・アパート(Six Apart)で マーケティングと広報をしております高橋真弓(@mayumine)と申します。ブログは9月26日にリリースしたばかりの Movable Type 5.2で書いています。 http://uramayu.com
    • 5. 去年初めてYAPCのLTでました!
    • 6. 去年初めてYAPCのLTでました! あれから1年…
    • 7. 去年初めてYAPCのLTでました! あれから1年… Perl 経験値は0.01年のまま、変わることはありませんでした…
    • 8. 1年間、Perlと人生に 向き合っていました。「人生をPerlで表現」したら どうなるのでしょうか?
    • 9. 1年間、Perlと人生に 向き合っていました。「人生をPerlで表現」したら どうなるのでしょうか?こうなりました!
    • 10. Perl と人生Perl and lifeMayumi Takahashi
    • 11. 01, 誕生 print "Hello, world!n";
    • 12. 02, 遊びたい盛りの小学生$mom->shout( to =>$me, message => Do your homework!,);
    • 13. 03, 後がない受験生my $college = School->new(Tokyo University);do {$me->studying();$college->exam( $me );} while( $college->result_of_the_exam( $me )eq FAIL );
    • 14. 04,欲望だらけの大学生$me->want( Drink );$me->want( Girlfriend );$me->want( Money );$me->want( Job );$me->want( Credit );
    • 15. 05, プロポーズ ・非常に優秀な対話型検索機能 ・そこにジョブズの人格が雇って    いるという do{ ソース:虚構新聞 will_you_marry_me( $me => $girlfriend ); } while ( $girlfriend->answer() ne YES ); my $wife = $girlfriend;
    • 16. 06, 新婚生活while( 1 ) {my $answer = what_do_you_want( $wife => $me );if ( $answer eq Dinner ) {# Do nothing} elsif ( $answer eq Bath) {# Do nothing} elsif ( $answer eq You) {last;} else {# Do nothing}}
    • 17. 07, 第一子誕生 $wife->{inner_universe} = $me->DNA(); my $new_baby = $wife->childbirth()
    • 18. 07, 世代交代 $me->want( Drink ); sub life { $me->want( Girlfriend ); $me->want( Money ); my ( $daddy, $mom ) = @_; do{ will_you_marry_me( $me => $girlfriend ); $mom->{inner_universe} = $daddy->DNA(); } while ( $girlfriend->answer() ne YES ); my $me = $mom->childbirth(); my $wife = $girlfriend; $me->shout( while( 1 ) { to => WORLD, my $answer = what_do_you_want( $wife => $me ); message => Hello, World!; if ( $answer eq Dinner ) { ); # Do nothing $mom->shout( } elsif ( $answer eq Bath) { to =>$me, # Do nothing message => Do your homework!, } elsif ( $answer eq You) { ); last; } else { my $college = School->new(Tokyo University); # Do nothing do { } $me->studying(); } $college->exam( $me ); } while( $college->result_of_the_exam( $me ) eq FAIL ); life( $me, $wife ); }
    • 19. 08, 繁栄 life( $adam, $eve);
    • 20. result ???
    • 21. result ???
    • 22. 人生をPerlで表現したくなった? 続きはgithubで!Do you want describe Life by Perl? Visit https://github.com/mayumine/ perlandlfe
    • 23. Thanks @yuji!We need Perl engineer. www.sixapart.jp/jobs

    ×