-
-
16 Apr 2014 18:33:32 UTC
- Distribution: Embperl
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (9)
- Testers (66 / 28 / 0)
- Kwalitee
- License: unknown
- Activity
24 month- Tools
- Download (768.94KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors- Gerald Richter <richter at embperl dot org>
- Dependencies
- File::Spec
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Embperl::Form::Control::price - A price input control with optional unit inside an Embperl Form
SYNOPSIS
{ type => 'price', text => 'blabla', name => 'foo', unit => 'sec', }
DESCRIPTION
Used to create a price input control inside an Embperl Form. Will format number as a money ammout. Optionaly it can display an unit after the input field. See Embperl::Form on how to specify parameters.
PARAMETER
type
Needs to be 'price'
name
Specifies the name of the control
text
Will be used as label for the numeric input control
size
Gives the size in characters. (Default: 10)
maxlength
Gives the maximun length in characters
unit
Gives a string that should be displayed right of the input field. (Default: )
use_comma
If set the decimal character is comma instead of point (Default: on)
Author
G. Richter (richter at embperl dot org)
See Also
perl(1), Embperl, Embperl::Form
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 162:
Non-ASCII character seen before =encoding in ')'. Assuming ISO8859-1
Module Install Instructions
To install Embperl, copy and paste the appropriate command in to your terminal.
cpanm Embperl
perl -MCPAN -e shell install Embperl
For more information on module installation, please visit the detailed CPAN module installation guide.