Embperl::Form::Control::price - A price input control with optional unit inside an Embperl Form
{ type => 'price', text => 'blabla', name => 'foo', unit => 'sec', }
Used to create a price input control inside an Embperl Form. Will format number as a money ammout. Optionally it can display an unit after the input field. See Embperl::Form on how to specify parameters.
Needs to be 'price'
Specifies the name of the control
Will be used as label for the numeric input control
Gives the size in characters. (Default: 10)
Gives the maximun length in characters
Gives a string that should be displayed right of the input field.
If set the decimal character is comma instead of point (Default: on)
G. Richter (richter at embperl dot org)
perl(1), Embperl, Embperl::Form
To install Embperl, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Embperl
CPAN shell
perl -MCPAN -e shell install Embperl
For more information on module installation, please visit the detailed CPAN module installation guide.