2. Introduction
• Perl 6 is a specification
Introducing Perl 6 Portuguese Perl Workshop 2010
3. Introduction
• Perl 6 is a specification
• Several implementations
Introducing Perl 6 Portuguese Perl Workshop 2010
4. Introduction
• Perl 6 is a specification
• Several implementations
• Anything that passes the spec test
Introducing Perl 6 Portuguese Perl Workshop 2010
5. Introduction
• Perl 6 is a specification
• Several implementations
• Anything that passes the spec test
• Perl 6 is not a replacement for Perl 5
Introducing Perl 6 Portuguese Perl Workshop 2010
35. Rakudo
• one Perl 6 implementation
• passes 79% of the test spec
• runs on Parrot VM
• http://www.rakudo.org
Introducing Perl 6 Portuguese Perl Workshop 2010
36. Get your feet wet
• install rakudo
1 $ git clone ...
2 $ perl Configure.pl --gen-parrot
3 $ make
4 $ make test
5 $ make spectest
Introducing Perl 6 Portuguese Perl Workshop 2010
37. Run Perl 6 code
• interactive mode
1 rakudo$ ./perl6
2 > say ’hello world’;
3 hello world
Introducing Perl 6 Portuguese Perl Workshop 2010
38. Run Perl 6 code
• interactive mode
1 rakudo$ ./perl6
2 > say ’hello world’;
3 hello world
• execute scripts
1 rakudo$ cat hello.p6
2 say ’hello world’;
3 rakudo$ ./perl6 hello.p6
4 hello world
Introducing Perl 6 Portuguese Perl Workshop 2010
40. Conlusion
• we haven’t seen everything
Introducing Perl 6 Portuguese Perl Workshop 2010
41. Conlusion
• we haven’t seen everything
• spec is still under development
Introducing Perl 6 Portuguese Perl Workshop 2010
42. Conlusion
• we haven’t seen everything
• spec is still under development
• implementations still under development
Introducing Perl 6 Portuguese Perl Workshop 2010
43. Conlusion
• we haven’t seen everything
• spec is still under development
• implementations still under development
• http://www.perl6.org
Introducing Perl 6 Portuguese Perl Workshop 2010
44. Conlusion
• we haven’t seen everything
• spec is still under development
• implementations still under development
• http://www.perl6.org
• .. available in a Christmas near you
Introducing Perl 6 Portuguese Perl Workshop 2010
45. The End
Questions?
Introducing Perl 6 Portuguese Perl Workshop 2010