Main > Programming > Libraries >

Test::File::Find::Rule 1.00

Test::File::Find::Rule 1.00

Sponsored Links

Test::File::Find::Rule 1.00 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.003 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 905
Date added: 2007-05-04
Publisher: Fabien Potencier

Test::File::Find::Rule 1.00 description

Test::File::Find::Rule is a Perl module to test files and directories with File::Find::Rule.

SYNOPSIS

use Test::File::Find::Rule;

# Check that all files in $dir have sensible names
my $rule = File::Find::Rule
->file
->relative
->not_name(qr/^[w]{1,8}.[a-z]{3,4}$/);
match_rule_no_result($rule, $dir, File names ok);

# Check that all our perl scripts have use strict !
my $rule = File::Find::Rule
->file
->relative
->name(@perl_ext)
->not_grep(qr/^s*uses+strict;/m, sub { 1 });
match_rule_no_result($rule, $dir, use strict usage);

# With some help of File::Find::Rule::MMagic
# Check that there is less than 10 images in $dir
# with a size > 1Mo
my $rule = File::Find::Rule
->file
->relative
->magic(image/*)
->size(>1Mo);
match_rule_nb_result($rule, $dir, <10, Few big images);
# We can reuse our F:F:R object
match_rule_nb_result($rule, $another_dir, >100, A lot of big images);

# Check the exact result from a rule
my $dirs = [qw(web lib data tmp)];
my $rule = File::Find::Rule
->directory
->mindepth(1)
->maxdepth(1)
->relative;
match_rule_array($rule, $dir, $dirs, Directory structure ok));

Test::File::Find::Rule 1.00 Screenshot

Advertisements

Test::File::Find::Rule 1.00 Keywords

Bookmark Test::File::Find::Rule 1.00

Hyperlink code:
Link for forum:

Test::File::Find::Rule 1.00 Copyright

WareSeeker periodically updates pricing and software information of Test::File::Find::Rule 1.00 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Test::File::Find::Rule 1.00 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
File::Find::Rule is an alternative Perl interface to File::Find. Free Download
File::Find::Rule::XPath is a Perl module that contains rule to match on XPath expressions. Free Download
Test::AutoBuild::Runtime is a Perl module with builder runtime state. Free Download
Snort::Rule is a Perl extension for dynamically building snort rules. Free Download
Test::Fixme is a Perl module to check code for FIXMEs. Free Download
Test::UseAllModules is a Perl module that uses use_ok() function for all modules MANIFESTed. Free Download
Test::Litmus is a Perl module to submit test results to the Litmus testcase management tool. Free Download
MyCMS perl module provides the MN::CMS Perl module used by the MyCMS. Free Download