File: README

package info (click to toggle)
libmixin-extrafields-param-perl 0.011-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 96 kB
  • ctags: 6
  • sloc: perl: 181; makefile: 2
file content (18 lines) | stat: -rw-r--r-- 417 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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.