Thread $File::Find::name, wer kann helfen !!! (18 answers)
Opened by miricoleo at 2008-08-12 23:13

Struppi
 2008-08-13 11:12
#113466 #113466
User since
2006-02-17
628 Artikel
BenutzerIn
[Homepage]
user image
So in der Art:
Code (perl): (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  #!/usr/bin/perl -w
use strict;
use File::Find;

my $muster = '\.xls';
my @files;

find(\&dateisuche, "./");

sub dateisuche {
        return unless /$muster$/i;
        
        push @files, $_;
        print "$_\n";
}

View full thread $File::Find::name, wer kann helfen !!!