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 the feature of parsing path_info to CGI.

VERSION

0.02

SYNOPSIS

    use CGI;
    use CGI::PathParam;

    my $q = CGI->new;

    $q->path_param( qw(foo bar baz) );
    # same as $q->path_info('/foo/bar/baz')

    my @results = $q->path_param;
    # @results is ( 'foo', 'bar', 'baz' ).

DESCRIPTION

This module adds the feature of parsing PATH_INFO to CGI as a plugin.

SUBROUTINES/METHODS

path_param(@)

If the perameter is specified, にゃー

import()

import path_param method to CGI package.

DIAGNOSTICS

Use of uninitialized value in join or string at ...

If you pass undef to path_param then you will see this message.

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.

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

    perldoc CGI::PathParam

You can also look for information at:

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.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 43:

Non-ASCII character seen before =encoding in 'にゃー'. Assuming UTF-8