The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

CGI::PathParam - Add path_info parser to CGI.

VERSION

Version 0.01

SYNOPSIS

    use CGI;
    use CGI::PathParam;
    my $q = CGI->new;
    my @paths = $q->path_param;
    # if $q->path_info() eq '/foo/bar/baz'
    # then $q->path_param() returns qw(foo bar baz)

DESCRIPTION

The param() parses query_string, and the path_param() parses path_info.

You can find documentation for this module with the perldoc command.

    perldoc CGI::PathParam

You can also look for information at:

SUBROUTINES/METHODS

path_param()

returns the list of path_info parameters.

import()

import path_param method into CGI package.

DIAGNOSTICS

CONFIGURATION AND ENVIRONMENT

DEPENDENCIES

CGI

INCOMPATIBILITIES

BUGS AND LIMITATIONS

The path_param() does not provide a setter feature yet.

Please report any bugs or feature requests to bug-cgi-pathparam@rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=CGI-PathParam. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

AUTHOR

Hironori Yoshida, <yoshida@cpan.org>

LICENSE AND COPYRIGHT

Copyright 2006 Hironori Yoshida, all rights reserved.

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