NAME

Plack::Middleware::SubSpec::ParseArgsFromPathInfo - Parse sub arguments from path info

VERSION

version 0.06

SYNOPSIS

# in your app.psgi
use Plack::Builder;

builder {
    enable "SubSpec::ParseArgsFromPathInfo";
};

DESCRIPTION

This middleware parses sub argument from path info, using Sub::Spec::GetArgs::Array. It should be enabled after SubSpec::GetSpec middleware (and thus separated from SubSpec::ParseRequest) because parsing positional arguments requires that we have sub spec first.

SEE ALSO

Plack::Middleware::SubSpec::ParseRequest

AUTHOR

Steven Haryanto <stevenharyanto@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Steven Haryanto.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.