Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 24.471.959 Times

Test::File::Find::Rule 1.00

  Date Added: August 13, 2010  |  Visits: 396

Test::File::Find::Rule

Report Broken Link
Printer Friendly Version


Product Homepage
Download (52 downloads)


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));. symfony - open-source PHP web framework

Requirements: No special requirements
Platforms: Linux
Keyword: Dir Files Libraries Perl Perl Module Programming Relative Result Rule Testfilefindrule
Users rating: 0/10

License: Freeware Size: 3.07 KB
USER REVIEWS
More Reviews or Write Review


TEST::FILE::FIND::RULE RELATED
Libraries  -  Alien Perl module 0.91
Alien Perl module package contains external libraries wrapped up for your viewing pleasure! SYNOPSIS perldoc Alien; Alien is a package that exists just to hold together an idea, the idea of Alien:: packages, so there is no code here, just...
10.24 KB  
Libraries  -  OpenGeoDB Perl module 0.4
OpenGeDB Perl module is a module to access the OpenGeoDB database and calculate all ZIP codes in a certain radius..
3.07 KB  
Libraries  -  perlfaq3 5.8.8
perlfaq3 Perl module contains programming tools. How do I do (anything)? Have you looked at CPAN (see perlfaq2)? The chances are that someone has already written a module that can solve your problem. Have you read the appropriate manpages?...
12.2 MB  
Network & Internet  -  MyCMS perl module 1.0
MyCMS perl module provides the MN::CMS Perl module used by the MyCMS. MyCMS perl module contains Perl object classes to manage the data of MyCMS (such as articles, links, and images). MN::CMS is a perl module that allows you to manage an...
16.38 KB  
Libraries  -  HTML::WikiConverter::Dialects 0.61
HTML::WikiConverter::Dialects is a Perl module which contains a tutorial on how to add a dialect. SYNOPSIS # In your dialect module: package HTML::WikiConverter::MySlimWiki; use HTML::WikiConverter -dialect; rule b => { start => **, end...
34.82 KB  
Libraries  -  Convert::Translit 1.03
Convert::Translit, transliterate, build_substitutes is a Perl module for string conversion among numerous character sets. SYNOPSIS use Convert::Translit; $translator = new Convert::Translit($result_chset); $translator = new...
79.87 KB  
Libraries  -  Cellular::Automata::Wolfram 1.1
Cellular::Automata::Wolfram is a Perl module that implements one-dimensional non-totalistic cellular automata as described in Dr. Steven Wolframs, A New Kind of Science, ISBN:1-57955-008-8 SYNOPSIS use Cellular::Automata::Wolfram; my...
10.24 KB  
Libraries  -  Chess::Elo 0.02
Chess::Elo is a Perl module to calculate Chess "Elo" ratings. SYNOPSIS use Chess::Elo qw(:all); # Alice is going to thump Bob... my ($alice_elo, $bob_elo) = (2100, 1200); # Oh no, Alice lost to Bob! my $result = 0; # 0.5 for draw, 1 for...
4.1 KB  
Libraries  -  DBIx::XHTML_Table 1.36
DBIx::XHTML_Table is Perl module for SQL query result set to XML-based HTML table. SYNOPSIS use DBIx::XHTML_Table; # database credentials - fill in the blanks my ($data_source,$usr,$pass) = (); my $table =...
18.43 KB  
Libraries  -  Dir::Purge 1.02
Dir::Purge is a Perl module to purge directories to a given number of files. SYNOPSIS perl -MDir::Purge -e purgedir (5, @ARGV) /spare/backups use Dir::Purge; purgedir ({keep => 5, strategy => "by_age", verbose => 1}, "/spare/backups");...
6.14 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  RailsTidy 0.1
RailsTidy project is a plugin for Ruby On Rails..
11.26 KB  
Programming  -  Strings edit 1.9
Strings edit is a library that provides I/O facilities for integer, floating-point, Roman numbers, and strings. Both input and output subroutines support string pointers for consequent stream processing. The output can be aligned in a fixed size...
54.27 KB  
Programming  -  BScript 0.3
BScript is a (yet another) BASIC interpreter. It is free software and open-sourced, licensed under the terms of the GNU General Public License version 2 or later. You can use BScript to teach BASIC to your students, write understandable shell...
112.64 KB  
Programming  -  Kits JavaScript Brainf*ck Interpreter 0.01
Kits JavaScript Brainf*ck Interpreter is a rather fast interpreter for the Brainf*ck esoteric programming language.. Kit's JavaScript Brainfuck Interpreter v0.01
5.12 KB  
Programming  -  dis6502 0.12
dis6502 is a flow-tracing disassembler for the 6502, originally written by Robert Bond and supporting Atari binary files. Robert posted dis6502 to the Usenet newsgroup net.sources on 9-Oct-1986, and to comp.sources.unix 7-Jun-1988. Udi...
19.46 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB  
Libraries  -  App::SimpleScan::Substitution::Line 2.02
App::SimpleScan::Substitution::Line is a line with optional fixed variable values. SYNOPSIS my $line = App::SimpleScan::Substitution::Line->new(" this "); # Use only this value when substituting " ". $line->fix(substituite =>...
54.27 KB  
Libraries  -  PDL::Graphics::TriD 2.4.3
PDL::Graphics::TriD is a PDL 3D interface. SYNOPSIS use PDL::Graphics::TriD; # After each graph, let the user rotate is and # wait for him to press q, then make new graph line3d($coords); # $coords = (3,n,...) line3d($coords,$colors); #...
2.1 MB  
Libraries  -  SmartColorWell 1.2
SmartColorWell is a cross-platform open-source ColorWell class for REALbasic 4 or greater. The SmartColorWell control stores a color value and displays that color in a simulated BevelButton that when pressed allows the user to change the color...
21.5 KB  
Home  | About Us  | Privacy  | Disclaimer  | Link to Us  | Contact Us  | Top Searches  | Submit Software
File Transit © 1998-2012