X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FWeb%2FSimple.pm;h=db835352a36f75acbd89b3aa629d5053004841c9;hb=1d02a8aebbc947b2ee87cfe8b65c01b8a942f99c;hp=6b84c8ff453363e664a34ae46c944bab8fc0b5b0;hpb=f42be65c651198ca1f8dbbaf361151acfac1f125;p=catagits%2FWeb-Simple.git diff --git a/lib/Web/Simple.pm b/lib/Web/Simple.pm index 6b84c8f..db83535 100644 --- a/lib/Web/Simple.pm +++ b/lib/Web/Simple.pm @@ -322,9 +322,9 @@ also match more than one part: and so on. To match an arbitrary number of parts, use - sub (/page/**) { + my ($self, $match) = @_; -This will result in an element per /-separated part so matched. Note that -you can do +This will result in a single element for the entire match. Note that you can do sub (/page/**/edit) {