hello dear Khen1950fx
guess that i have some bad luck today. Do i have this done to the wrong directory...!? I cannot start it... i always get the response:
Results:
Can't stat /home/usr/perl/htmlfiles: No such file or directory
at /usr/lib/perl5/site_perl/5.12.1/File/Find/Rule.pm line 594
i use
#!/usr/bin/perl
use strict;
use warnings;
use diagnostics;
use File::Find::Rule;
my @files = File::Find::Rule->file()
->name('einzelergebnis*.html')
->in( '/home/usr/perl/htmlfiles' );
foreach my $file(@files) {
print $file, "\n";
}
|