]> git.decadent.org.uk Git - maypole.git/blobdiff - lib/CGI/Maypole.pm
Added parse_args to Maypole::CLI and CGI::Maypole
[maypole.git] / lib / CGI / Maypole.pm
index 0426f5ab092bc4c74772932973398627e7ce8da3..88995ef0401e84d18030bca8a56ddf840b3fb323 100644 (file)
@@ -22,6 +22,11 @@ sub parse_location {
      no warnings 'uninitialized';
      $self->{path} =~ s/^($loc)?\///;
      $self->parse_path;
+     $self->parse_args;
+}
+
+sub parse_args {
+     my $self = shift;
      $self->{params} = { $self->{cgi}->Vars };
      $self->{query}  = { $self->{cgi}->Vars };
 }