Perl6::Pugs - A Perl 6 Implementation
This document describes version 6.2.13 of Pugs, released October 17, 2006.
% pugs -e "{ 'Hello, ', @^x }.('World!').say" Hello, World!
With Perl 5 embedding support:
use v6-alpha; use perl5:DBI; my $dbh = DBI.connect('dbi:SQLite:dbname=test.db'); $dbh.do("CREATE TABLE Test (Project, Pumpking)");
Pugs is an implementation of Perl 6, written in Haskell. It aims to support the full Perl 6 specification, as detailed in the Synopses.
The Pugs project was started on February 1st 2005. It is under active development on IRC (irc.freenode.net, #perl6).
irc.freenode.net
#perl6
Please read the Pugs Apocrypha in the docs/ directory for more details.
The Pugs Apocrypha in the docs/ directory are a series of documents, written in question/answer format, to explain the design and implementation of Pugs.
Quick reference documents of Perl 6 can be found in the docs/quickref/ directory, similar to perlcheat. The table of contents can be found at docs/quickref/README.
There're various talks about Perl 6 and/or Pugs in docs/talks/. Look into docs/talks/README for links to rendered versions (HTML, PDF).
In the examples/ directory there're examples of working Perl 6 code. In examples/cookbook/ you can find the Perl 6 version of the Perl 5 cookbook. If you want to see how Perl 6 modules look like, you can have a look at the modules in ext/. Another good source of working Perl 6 code is the comprehensive test suite in the t/ directory.
Additionally to the official AES, Pugs hosts a number of unofficial AES at docs/AES/. You might also want to checkout the Perl 6 module Perl6::Bible, hosted at FreePAN (http://tpe.freepan.org/repos/iblech/Perl6-Bible/), if you want to read the AES by using the p6bible command line utility.
p6bible
The Pugs homepage is at http://pugscode.org/.
The mailing list for Pugs is perl6-compiler. Subscribe by sending mail to <perl6-compiler-subscribe@perl.org>. It is archived at http://www.nntp.perl.org/group/perl.perl6.compiler and available via NNTP at nntp://nntp.perl.org/perl.perl6.compiler.
perl6-compiler
<perl6-compiler-subscribe@perl.org>
You can also read the list via Google Groups at http://groups-beta.google.com/group/perl.perl6.compiler or GMane at http://news.gmane.org/gmane.comp.lang.perl.perl6.compiler.
Please submit bug reports to <pugsbugs@perl.org>.
<pugsbugs@perl.org>
Pugs is Copyright 2005-2006, The Pugs Contributors.
Pugs is a joint work of authorship by the Pugs Contributors.
Pugs is free software; you can redistribute it and/or modify it under the terms of either:
a) the GNU General Public License, version 2, or b) the Artistic License, version 2.0beta5.
To install Perl6::Pugs, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Perl6::Pugs
CPAN shell
perl -MCPAN -e shell install Perl6::Pugs
For more information on module installation, please visit the detailed CPAN module installation guide.