Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

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)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Os File Size

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)
Discussion started by: jarkvarma
1 Replies

2. HP-UX

HP-UX 11i - File Size Limitation And Number Of Folders Limitation

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)
Discussion started by: sundeep_mohanty
2 Replies

3. Programming

Maximum File Size

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)
Discussion started by: matrixmadhan
5 Replies

4. UNIX for Advanced & Expert Users

File Size Limit

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)
Discussion started by: HaidoodFaulkauf
2 Replies

5. Shell Programming and Scripting

Need to delete previous line after successful seearch

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)
Discussion started by: pbsrinivas
7 Replies

6. AIX

Creat a File with a Specific Size

Hi everybody, Is there a command that can create a new file with a specific size? Thanks in advance. (3 Replies)
Discussion started by: aldowsary
3 Replies

7. Shell Programming and Scripting

max values amd min values

Hello every one, I have following data ***CAMPAIGN 1998 CONTRIBUTIONS*** --------------------------------------------------------------------------- NAME PHONE Jan | Feb | Mar | Total Donated ... (12 Replies)
Discussion started by: devmiral
12 Replies

8. UNIX for Dummies Questions & Answers

File size in AIX

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)
Discussion started by: maxmave
1 Replies

9. UNIX for Dummies Questions & Answers

File Size Capacity

How to view file size limit in unix.. From my case is when the file size over 80% full is has to be an alert. Thank you (3 Replies)
Discussion started by: tanjonathan
3 Replies

10. UNIX for Dummies Questions & Answers

alias issue

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)
Discussion started by: karlochacon
3 Replies

11. Shell Programming and Scripting

Check File Size For Log Rotation

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)
Discussion started by: sureshcisco
6 Replies

12. UNIX for Dummies Questions & Answers

Help to Grow the Size of volume

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)
Discussion started by: udubya
3 Replies

13. Shell Programming and Scripting

To get max/min Date/Timestamp from a file

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)
Discussion started by: vikanna
5 Replies

14. Shell Programming and Scripting

Open HTML file

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)
Discussion started by: Coolman24
3 Replies

15. Shell Programming and Scripting

Joining 2 Files

File "A" (column names: Nickname Number GB) Nickname Number GB PROD_DB0034 100A 16 ASMIL1B_DATA_003 100B 16 PSPROD_0000 1014 36 PSPROD_0001 100D 223 ..... File "B" (column names: TYPE DEVICE NUMBER SIZE) TYPE DEVICE NUMBER SIZE 1750500 hdisk2 100A 16384 1750500 hdisk3 ... (4 Replies)
Discussion started by: Daniel Gate
4 Replies