The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

PIR tutorial

Each of the files in this directory contains valid PIR code and POD (Perl 5's Plain Old Documentation) and can be read as plain text. To view just the documentation without the sample code, use perldoc:

 perldoc example.pir

If you'd like to execute the code from files you need to build parrot and then type:

 ../../parrot example.pir

The parrot test suite also checks the output of these examples. Exexute the tests by typing:

 cd ../../ ; prove -v t/examples/tutorial.t ; cd examples/tutorial

When adding an new example or changing the output of an example please update t/examples/tutorial.t as well.