Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > e34385ec7b78cbb6e347fae7f2b6c016 > files > 12

perl-Mixin-ExtraFields-Param-0.11.0-1mdv2010.0.noarch.rpm

Mixin::Param - make your class provide a familiar "param" method

SYNOPSIS

  package Widget::Parametric;
  use Mixin::Param;

  ...

  my $widget = Widget::Parametric->new({ flavor => 'vanilla' });

  printf "%s: %s\n", $_, $widget->param($_) for $widget->param;

DESCRIPTION

This module mixes in to your class to provide a C<param> method like the ones
provided by L<CGI>, L<CGI::Application>, and other classes.