Sledge::Plugin::QueryHash - Get query params helper module for Sledge
This module ported CGI::Application::Plugin::QueryHash in plugin of Sledge.
Version 0.01
## your Sledge::Pages use Sledge::Plugin::QueryHash; sub dispatch_index { my $self = shift; ## All params hash my %query = $self->query_hash; ## All palams hash ref. my $query = $self->query_hash; ## Selected params hash my %selected_query = $self->query_hash('key','key2'); ## Selected params hash ref my $selected_query = $self->query_hash('key'); }
return query params hash / hashref.
Please report any bugs or suggestions at http://rt.cpan.org/NoAuth/Bugs.html?Dist=Sledge-Plugin-QueryHash
syushi matsumoto, <matsumoto at alink.co.jp>
<matsumoto at alink.co.jp>
Copyright (C) 2009 Alink INC. all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Sledge::Plugin::QueryHash, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Sledge::Plugin::QueryHash
CPAN shell
perl -MCPAN -e shell install Sledge::Plugin::QueryHash
For more information on module installation, please visit the detailed CPAN module installation guide.