in reply to Re: Need help with File::Find
in thread Need help with File::Find
Now i will also exclude some directories defined in a varuse File::Find; my $base = "c:/blub"; my $ext = "html|js"; find( sub { push(@dateien, $File::Find::name) if ( /\.($ext)$/i && -T); }, $base );
Or bette a hash or array for this? For the dirs i will have a "or" and if this value are empty it should be ignored. Same for the extensions ..my dirs = "cgi-bin|logs";
Thx again (sorry, i'm new to perl)
ppm
|
|---|