]> git.decadent.org.uk Git - maypole.git/blobdiff - lib/Maypole/CLI.pm
added preprocess_location method
[maypole.git] / lib / Maypole / CLI.pm
index 8f8a50eb4cd0243a71ff514a644a04e652c0a9a6..39abf1546370987a26f16fb00d57c584bf14b045 100644 (file)
@@ -36,6 +36,9 @@ sub warn {
 sub parse_location {
     my $self = shift;
     my $url  = URI->new( shift @ARGV );
+
+    $self->preprocess_location();
+
     (my $uri_base = $self->config->uri_base) =~ s:/$::;
     my $root = URI->new( $uri_base )->path;
     $self->{path} = $url->path;
@@ -144,6 +147,8 @@ functionality. See L<Maypole> for these:
 
 =item send_output
 
+=item warn
+
 =back
 
 =cut