View on
☺唐鳳☻ > Perl6-Pugs-6.2.12 > Perl6::Pugs



Annotate this POD


New  7
Open  0
View/Report Bugs
Module Version: 6.002012   Source   Latest Release: Perl6-Pugs-6.2.13


Perl6::Pugs - A Perl 6 Implementation


This document describes version 6.2.12 of Pugs, released June 26, 2006.


    % pugs -e "{ 'Hello, ', @^x }.('World!').say"
    Hello, World!

With Perl 5 embedding support (also note the -- in the #! line):

    #!/usr/bin/pugs --
    use v6;
    use perl5:DBI;
    my $dbh = DBI.connect('dbi:SQLite:dbname=test.db');
    $"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 (, #perl6).

Please read the Pugs Apocrypha in the docs/ directory for more details.


Pugs Apocrypha

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 of Perl 6

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.

Apocalypses, Exegeses, and Synopses (AES)

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 (, if you want to read the AES by using the p6bible command line utility.


The Pugs homepage is at

The mailing list for Pugs is perl6-compiler. Subscribe by sending mail to <>. It is archived at and available via NNTP at nntp://

You can also read the list via Google Groups at or GMane at

Please submit bug reports to <>.


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.
syntax highlighting: