html::formfu::constraint::minmaxfields(3pm) [debian man page]
HTML::FormFu::Constraint::MinMaxFields(3pm) User Contributed Perl Documentation HTML::FormFu::Constraint::MinMaxFields(3pm)NAME
HTML::FormFu::Constraint::MinMaxFields - Min/Max Multi-field Constraint
SYNOPSIS
type: MinMaxFields
name: foo
others: [bar, baz]
min: 1
max: 1
DESCRIPTION
Ensure that at least a minimum and only a maximum number of fields are present.
This constraint doesn't honour the "not()" value.
METHODS
minimum
min
The minimum number of named fields which must be filled in.
"min" is an alias for "minimum".
maximum
max
The maximum number of named fields which must be filled in.
"max" is an alias for "maximum".
The default for max is the number of all affected fields, in other words one more than the number of elements given to others.
attach_errors_to_base
Default Value: 1
attach_errors_to_others
Default Value: 0
SEE ALSO
Is a sub-class of, and inherits methods from HTML::FormFu::Constraint::_others, HTML::FormFu::Constraint
HTML::FormFu
AUTHOR
Mario Minati "mario.minati@googlemail.com"
LICENSE
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2012-01-23 HTML::FormFu::Constraint::MinMaxFields(3pm)
Check Out this Related Man Page
HTML::FormFu::Constraint::File::Size(3pm) User Contributed Perl Documentation HTML::FormFu::Constraint::File::Size(3pm)NAME
HTML::FormFu::Constraint::File::Size - File Size Constraint
DESCRIPTION
Ensure that an uploaded file meets minimum or maximum size constraints.
METHODS
minimum
min
Optional.
The minimum file size in bytes.
"min" is an alias for "minimum".
maximum
max
Optional.
The maximum file size in bytes.
"max" is an alias for "maximum".
minimum_kilobyte
min_kilobyte
Shortcut for "$constraint->minimum( $value * 1024 )".
"min_kilobyte" is an alias for "minimum_kilobyte".
maximum_kilobyte
max_kilobyte
Shortcut for "$constraint->maximum( $value * 1024 )".
"max_kilobyte" is an alias for "maximum_kilobyte".
minimum_megabyte
min_megabyte
Shortcut for "$constraint->minimum( $value * 1_048_576 )".
"min_megabyte" is an alias for "minimum_megabyte".
maximum_megabyte
max_megabyte
Shortcut for "$constraint->maximum( $value * 1_048_576 )".
"max_megabyte" is an alias for "maximum_megabyte".
SEE ALSO
Is a sub-class of, and inherits methods from HTML::FormFu::Constraint
HTML::FormFu
AUTHOR
Carl Franks, "cfranks@cpan.org"
LICENSE
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2012-01-23 HTML::FormFu::Constraint::File::Size(3pm)
Hello every one, I have following data
***CAMPAIGN 1998 CONTRIBUTIONS***
---------------------------------------------------------------------------
NAME PHONE Jan | Feb | Mar | Total Donated
... (12 Replies)
hi, i have an awk script and I managed to figure out how to search the max value but Im having difficulty in searching for the min field value.
BEGIN {FS=","; max=0}
NF == 7 {if (max < $6) max = $6;}
END { print man, min}
where $6 is the column of a field separated by a comma (3 Replies)
I want to get maximum/minimum date/timestamp from a data file ?
Sample Input File
=============
rec#,order_dt,ext_ts
1,2010-12-01,2010-12-01 17:55:23.222222
2,2011-11-05,2010-12-01 19:55:23.222222
3,2009-10-01,2010-12-01 18:55:23.222222
for above file
Maximum Order_dt = 2011-11-05... (5 Replies)
I have to find the min and max on a specific column in a file after sending that column and one other to a output file but I keep getting a maximum of zero
below is what i have so far if anyone can give me advice on what i am doing wrong the help would be much appreciated
# ! /usr/bin/perl -w... (2 Replies)
I have a system with the following settings:
min:0.10
Assigned: 2.0
Max: 6.0
Partition is uncapped weight is 128.
I would like to know if even if this is uncapped, is the max it can use 6?
The actual pool has 16.
I remember reading about this somewhere but I don't remember can anyone... (3 Replies)
Using the input file for each row , using columns 1 (min) and 2 (max) , and with increment of 4 each time I want to create the output file.
Input file
1000 1012 2000 2001
2000 2008 3000 3001
Output desired
1000 2000 2001
1004 2000 2001
1008 2000 2001
1012 2000 2001
2000 3000 3001... (5 Replies)