Web::App::Config - parsing Web::App configuration
Web::App
sub path_from_request
this procedure return screen object and path info.
example:
request is: http://some.com/web-app/admin/article/12345
configuration is:
<config> ... <screens> ... <base-url>/web-app</base-url> ... <screen id='admin'> <presentation type='xslt' filename='not-found.xsl'/> </screen>
<screen id='admin/article'> <presentation type='xslt' filename='not-found.xsl'/> </screen> ... </screens> </config>
sub return screen object for screen with id = 'admin/article' and path info = '12345'
To install Web::App, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Web::App
CPAN shell
perl -MCPAN -e shell install Web::App
For more information on module installation, please visit the detailed CPAN module installation guide.