Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 7d9c16311e
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 21 lines (13 sloc) 0.252 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#!/usr/bin/env perl6
use v6;

sub reverse-list(@list)
{
    @list.reverse;
}

# Make sure it's treated as a list, since <> creates a parcel.
say reverse-list(<a b c d e>.list);

=begin pod

=head1 NAME

P05 - Reverse a list.

=end pod

# vim: ft=perl6
Something went wrong with that request. Please try again.