Help for this page

Select Code to Download


  1. or download this
    # Perl 5:
    print join "...", map {...} sort {...} @array;
    # Perl 6:
    say (@array.sort:{...} ==> map {...}).join("...");
    
  2. or download this
    class Foo {
      has $.x;
    ...
        # Foo::Bar does *not* directly access the variable.
      }
    }