html::formfu::constraint::file::size(3pm) [debian 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)
Check Out this Related Man Page
HTML::FormFu::Constraint::DateTime(3pm) User Contributed Perl Documentation HTML::FormFu::Constraint::DateTime(3pm)NAME
HTML::FormFu::Constraint::DateTime - DateTime constraint
SYNOPSIS ---
elements:
- type: Text
name: start_date
constraints:
- type: DateTime
parser:
strptime: '%d-%m-%Y'
- type: Text
name: end_time
constraints:
- type: DateTime
parser:
regex: !!perl/regexp '^(d{2}) - (d{2}) - (d{4})$'
params: [day, month, year]
An example of using the same parser declaration for both a DateTime constraint and a DateTime inflator, using YAML references:
---
elements:
- type: Text
name: date
constraints:
- type: DateTime
parser: &PARSER
strptime: '%d-%m-%Y'
inflators:
- type: DateTime
parser: *PARSER
DESCRIPTION
Ensure input can later be inflated to a DateTime object.
METHODS
parser
Arguments: \%args
Required. Define the expected input string, so DateTime::Format::Builder knows how to turn it into a DateTime object.
Accepts arguments to be passed to "parser" in DateTime::Format::Builder.
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 2011-05-10 HTML::FormFu::Constraint::DateTime(3pm)
Hi,
I have a problem in the oracle for increasing the datafile size because it is reaching the OS max file size on AIX operating system. Currently the OS max file size is 1023mb and I want to change it to 4gig.
Please help me in increasing the os file size parameter and kindly let me know... (1 Reply)
Hi All,
Can anyone please clarify me the following questions:
1. Is there any file size limitation in HP-UX 11i, that I can able to create upto certain size of file (say 2 GB) and not more then that????
2. At max. how many files we can able to keep inside a folder????
3. How many... (2 Replies)
Hi,
When i checked for the maximum file size on solaris 5.9
the max file size obtained was only 2147483647
and all the further writes to the file which had reached that max size is not added to that file.
even i had registered the signal SIGXFSZ, but the signal was not delivered to the... (5 Replies)
Hi,
I have a problem writing or copying a file 2GB or larger to either the second or third disk on my C8000. I've searched this forum and found some good information on this but still nothing to solve the problem.
I'm running hpux 11i, JFS3.3 and disk version 4 (from fstyp) on all 3 disks.
... (2 Replies)
i have a file in following pattreen
A:
Size = 10
B:
Size = 0
C:
Size = 220
D:
Size = 0
i want to Display only Charecters which have which have Size = 0
The Out put Should be
B:
D:
Can Some one Help (7 Replies)
Hello every one, I have following data
***CAMPAIGN 1998 CONTRIBUTIONS***
---------------------------------------------------------------------------
NAME PHONE Jan | Feb | Mar | Total Donated
... (12 Replies)
How can i find a Text File Size in AIX Environment in a shell script.
Are there any specfic commands for that??
Thanks in Advance
Cheers !!!
Rahul (1 Reply)
hi guys
I am trying to alias this
# df -h | grep -vE 'boot|dev'
Filesystem Size Used Avail Use% Mounted on
114G 1.5G 107G 2% /
2.9G 69M 2.7G 3% /home
4.8G 138M 4.4G 4% /tmp
... (3 Replies)
Hi Can anyone assist me, I am trying to compate the size of a logfile to a maximum size 1000 and delete if exceeds the limit.
The problem I am getting is the command not found for the line
if ( $LOGNAME_SIZE >= $MAXSIZE); then
Appreciate your response.
Script:
LOGDIR="/home/... (6 Replies)
I have a 146Gb drive and want to grow the size from 12G to the max available left. I think 20G is being used so I want to max out from 12 G to 126G. Is this possible? Can you help with the command.
root@WRPDWI6k-BU # df -h
Filesystem size used avail... (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)
Hello,
Is it possible to run/open a HTML File from bash? I mean that when the HTML File contains an alert JavaScript code that then a message box will be shown?
Thanks! (3 Replies)