home | blog

Perl 6 screencast - part 2 - arrays

Published on 2010.07.20 at 18:54:38 Bookmark and Share

Tags: Perl 6, Perl, screencast, arrays



Direct link to the Perl 6 arrays screencast

See more Perl 6 entries.

Perl 6 Code examples

  use v6;
  my @names = "Foo", "Bar", "Moo";
  say @names[];
  say "Hello {@names} how are you?";
  say "Hello { join('; ', @names) } how are you?";


  use v6;
  my @names = ;
  say "Hello {@names} how are you?";
  for @names -> $n {
    say $n;
  }

blog comments powered by Disqus
Follow szabgab on Twitter
Tags
Perl (270)
Perl 5 (94)
Padre (79)
Perl 6 (42)
IDE (41)
testing (38)
CPAN (28)
business (27)
newsletter (24)
marketing (23)
training (20)
TPF (17)
open source (17)
Windows (17)
promotion (17)
Parrot (16)
YAPC (16)
Israel (15)
grants (15)
Python (14)