X-Git-Url: http://erislabs.net/gitweb/?p=liburi-template-perl.git;a=blobdiff_plain;f=README;h=c632c13503d537995163b22783686f7bd6bb5fa6;hp=59f5a76c9e88cc99dea724e21550285bbfd21ff0;hb=6ce2a97438a9ca90e550caeefb1d3cecf259ded4;hpb=53a1b94e04453d9c7eea079af549f2179320b952 diff --git a/README b/README index 59f5a76..c632c13 100644 --- a/README +++ b/README @@ -13,22 +13,13 @@ SYNOPSIS DESCRIPTION This is an initial attempt to provide a wrapper around URI templates as described at - http://www.ietf.org/internet-drafts/draft-gregorio-uritemplate-00.txt + http://www.ietf.org/internet-drafts/draft-gregorio-uritemplate-01.txt INSTALLATION - To install this module via Module::Build: - - perl Build.PL - ./Build # or `perl Build` - ./Build test # or `perl Build test` - ./Build install # or `perl Build install` - - To install this module via ExtUtils::MakeMaker: - - perl Makefile.PL - make - make test - make install + perl Makefile.PL + make + make test + make install METHODS new( $template ) @@ -40,8 +31,8 @@ METHODS stringified. variables( ) - Returns an array of variable names found in the template. NB: they are - returned in random order. + Returns an array of unique variable names found in the template. NB: + they are returned in random order. all_variables( ) Returns an array of variable names found as they appear in template -- @@ -61,10 +52,10 @@ METHODS Returns a hash with the extracted values. AUTHOR - * Brian Cassidy + Brian Cassidy COPYRIGHT AND LICENSE - Copyright 2007 by Brian Cassidy + Copyright 2008 by Brian Cassidy This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.