Rakudo Perl Development Rakudo Perl Development #5

Running Rakudo Perl

Interactive mode

$ parrot perl6.pbc
>

Lexical variables and declarations do not cross input lines

Each statement is its own eval block

Helpful hint: Close curlies followed by a statement need a semicolon

> sub foo { say "hello" }    foo();           # wrong
> sub bar { say "world" };   bar();           # right
Copyright © 2008
http://www.pmichaud.com/2008/pres/