blue_rect.pl - draw a blue rectangle using the SDL library and NQP
To run this file, execute the following command from the Parrot directory:
$ ./parrot compilers/nqp/nqp.pbc examples/sdl/blue_rect.pl
blue_rect.pl created by Patrick R. Michaud (pmichaud@pobox.com) based on blue_rect.pir by chromatic (chromatic at wgz dot org).
Copyright (C) 2004-2007, The Perl Foundation.
To install Parrot::PMC, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Parrot::PMC
CPAN shell
perl -MCPAN -e shell install Parrot::PMC
For more information on module installation, please visit the detailed CPAN module installation guide.