NAME

Sledge::Plugin::QueryHash - Get query params helper module for Sledge

This module ported CGI::Application::Plugin::QueryHash in plugin of Sledge.

VERSION

Version 0.01

SYNOPSIS

## 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');
  
}

METHODS

query_hash

return query params hash / hashref.

BUGS

Please report any bugs or suggestions at http://rt.cpan.org/NoAuth/Bugs.html?Dist=Sledge-Plugin-QueryHash

AUTHOR

syushi matsumoto, <matsumoto at alink.co.jp>

COPYRIGHT AND LICENSE

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.