Test :: Bestand :: Vind :: Regel

Test :: Bestand :: Find :: Rule is een PERL-module om bestanden en mappen met bestand te testen :: Vind :: Regel.
Download nu

Test :: Bestand :: Vind :: Regel Rangschikking & Samenvatting

Advertentie

  • Rating:
  • Vergunning:
  • Perl Artistic License
  • Prijs:
  • FREE
  • Naam uitgever:
  • Fabien POTENCIER
  • Uitgever website:
  • http://search.cpan.org/~fabpot/Test-File-Find-Rule-1.00/lib/Test/File/Find/Rule.pm

Test :: Bestand :: Vind :: Regel Tags


Test :: Bestand :: Vind :: Regel Beschrijving

Test :: Bestand :: Find :: Rule is een PERL-module om bestanden en mappen te testen met bestand :: Vind :: Regel. Test :: Bestand :: Find :: Rule is een PERL-module om bestanden en mappen met bestand te testen :: Find :: Rule.Synopsis Gebruik Test :: Bestand :: Vind :: Regel; # Controleer of alle bestanden in $ DIR verstandige namen hebben Mijn $ Regel = Bestand :: Vinden :: Regel -> Bestand -> Relatief -> Not_Name (QR / ^ {1,8}. {3, 4} $ /); match_rule_no_result ($ regel, $ dir, 'bestandsnamen ok'); # Controleer of al onze perl-scripts strikt hebben gebruikt! Mijn $ Regel = Bestand :: Vinden :: Regel -> Bestand -> Relatief -> Naam (@PERL_EXT) -> NOT_GREP (QR / ^ S * gebruikt + strikte; / m, sub {1}); match_rule_no_result ($ regel, $ dir, 'Gebruik strikt gebruik'); # Met enige hulp van het bestand :: Vinden :: Regel :: MMAGIC # Controleer of er minder dan 10 afbeeldingen in $ dir # dir # met een formaat> 1MO My $ Rule = Bestand :: Zoek :: Regel -> Bestand -> Relatief -> magie ('beeld / *) -> grootte ('> 1mo '); match_rule_nb_result ($ regel, $ dir, '100', 'veel grote afbeeldingen'); # Controleer het exacte resultaat van een regel My $ Dirs = ; Mijn $ Regel = Bestand :: Vinden :: Regel -> Directory -> MINDEPTH (1) -> MAXDEPTH (1) -> Relatief; match_rule_array ($ regel, $ dir, $ dirs, 'directory structuur ok')); vereisten: · PERL-vereisten: · Perl


Test :: Bestand :: Vind :: Regel Gerelateerde software