File:: FindByRegex 1.2
Sponsored Links
File:: FindByRegex 1.2: Zusammenfassung
Dateigröße:
0.010 MB
Flatform:
Any Platform
Liscense:
Perl Artistic License
Preis:
Download-Zahl:
7690
Datum:
2007-06-07
Verlag:
Other Publisher
File:: FindByRegex 1.2: Beschreibung
Datei:: FindByRegex ist eine Perl-Verpackung für Datei:: Finden, das einen Verzeichnisbaum findet und etwas Klage auf jede Datei laufen läßt, deren Namensmatchs ein regex.
SYNOPSYS
Gebrauch Datei:: FindByRegex;
$find = Datei:: FindByRegex->new ({
- srcdir => [C: tmpteradata-sql],
- tardir => C: tmpteradata-sqldoc,
- Entdeckung => {no_chdir => 1},
- Rückrufe =>
{
qr/.p (L|m|Außendurchmesser|t)$/oi, => &treat_pod,
qr/sql.+? .sql$/oi, => treat_pod,
qr/.html? $/oi, => &treat_html,
qr/.txt$/oi => &treat_txt,
qr/. (Jpg|GIF|png|bmp|tiff) $ => Unterseeboot {&treat_graphic (@_)}
},
- => ignorieren
[
qr/z.B. +.sql$/oi, # *.sql im Verzeichnis z.B.
qr/java/oi, # alle Dateien im Java-Verzeichnis.
],
- schließt => aus
[
qr/java.*? .html? $/oi # ignorieren nicht *.html in Java
]
});
Unterreihe:: FindByRegex:: treat_pod
{
mein $this = Schiebung;
…
}
Unterreihe:: FindByRegex:: treat_html
{
mein $this = Schiebung;
…
}
Unterreihe:: FindByRegex:: treat_txt
{
mein $this = Schiebung;
…
}
Unterreihe:: FindByRegex:: treat_graphic
{
mein $this = Schiebung;
…
}
$find->travel_tree;
SYNOPSYS
Gebrauch Datei:: FindByRegex;
$find = Datei:: FindByRegex->new ({
- srcdir => [C: tmpteradata-sql],
- tardir => C: tmpteradata-sqldoc,
- Entdeckung => {no_chdir => 1},
- Rückrufe =>
{
qr/.p (L|m|Außendurchmesser|t)$/oi, => &treat_pod,
qr/sql.+? .sql$/oi, => treat_pod,
qr/.html? $/oi, => &treat_html,
qr/.txt$/oi => &treat_txt,
qr/. (Jpg|GIF|png|bmp|tiff) $ => Unterseeboot {&treat_graphic (@_)}
},
- => ignorieren
[
qr/z.B. +.sql$/oi, # *.sql im Verzeichnis z.B.
qr/java/oi, # alle Dateien im Java-Verzeichnis.
],
- schließt => aus
[
qr/java.*? .html? $/oi # ignorieren nicht *.html in Java
]
});
Unterreihe:: FindByRegex:: treat_pod
{
mein $this = Schiebung;
…
}
Unterreihe:: FindByRegex:: treat_html
{
mein $this = Schiebung;
…
}
Unterreihe:: FindByRegex:: treat_txt
{
mein $this = Schiebung;
…
}
Unterreihe:: FindByRegex:: treat_graphic
{
mein $this = Schiebung;
…
}
$find->travel_tree;
File:: FindByRegex 1.2: Screenshot
Sponsored Links
File:: FindByRegex 1.2: Stichwort
File:: FindByRegex 1.2: Lesezeichen
File:: FindByRegex 1.2: verwandt software
Meine Software
Sie haben noch keine Software. Klicken Sie auf Save "neben den einzelnen Software, um ihn zu speichern, um Ihre Software-Korb"
Verwandte Suche
Sponsored Links
