Implementation of for Perl 6

URI::Template Build Status

Implementation of for Perl 6


use URI::Template;

my $template = => '{/foo,bar}');

say $template.process(foo => 'baz', bar => 'quux'); #


This provides an implementation of RFC 6570 which allows for the definition of a URI through variable expansion.


Assuming you have a working perl6 installation you should be able to install this with panda :

# From the source directory

panda install .

# Remote installation

panda install URI::Template

I haven't tested this with "zef" but I see no reason why it shouldn't work.


Suggestions/patches are welcomed via github at

The test data covers all of the examples given in the RFC and a few others, if you think the behaviour is incorrect please state the section of the RFC and provide a failing example with the required variables, template and the expected output.


Please see the LICENCE file in the distribution

© Jonathan Stowe 2015, 2016

The testing uses the test data from please see the in the t/data/uritemplate-test for the license for that project.