http://www.perlmonks.org?node_id=771896


in reply to Re: Getting Involved with Perl 6 - 2009
in thread Getting Involved with Perl 6 - 2009

What would thaw the ice quite a bit is if there were a website that catalogued example code for doing basic things like,

These examples may help you.

citromatik

  • Comment on Re^2: Getting Involved with Perl 6 - 2009

Replies are listed 'Best First'.
Re^3: Getting Involved with Perl 6 - 2009
by moritz (Cardinal) on Jun 16, 2009 at 06:39 UTC
    This SVN repository now lives at http://svn.pugscode.org/pugs/, the one on svn.perl.org is quite outdated. Even in the newer repository not all of these examples have been kept up-to-date with spec changes, which is why I'd recommend to look at the Perl 6 examples project instead.

    Update: to avoid confusion the outdated repo on svn.perl.org has now been deleted.

      That examples project looks like a great start. If I knew how to use Git, and if I knew Perl 6, I'd add a directory to it called "the_basics", and put in the following files (to start):

      • scalars.pl
      • strings.pl
      • arrays.pl
      • hashes.pl
      • operators.pl
      • regex.pl
      • control_structures.pl
      • context.pl
      • references.pl
      • scope.pl
      • functions.pl
      • classes.pl
      • modules.pl
      • packages.pl
      • stdin_stdout.pl
      • environment_variables.pl
      • files.pl
      • tests.pl
      If anyone wants to beat me to it, please go ahead. Would make it a snap to get up to speed with Perl 6 in a hurry.