Perl: "find -newer" in nativ

Hilmar Preuße <[email protected]>
Newsgroups gmane.user-groups.linux.dresden
Message-ID <[email protected]>
Moin,

voran: ich bin ein absoluter Perl Noob und bin darum wahrscheinlich auch
zu doof, google zu bedienen (nein bei ChatGPT war ich noch nicht). Ich
suche in einer Directory Structur eine Liste von Files, die aktueller
sind als ein Referenz-File. Aktuell mache ich das so:

my @files1 = `find /path/to/pen8*/pools/*/logf -type f -newer $touchfile
-name "Psipenta_*.log" 2> /dev/null`;

In $touchfile findet sich der Name meines Referenz-Files. Ich bin mir
sicher, das kann man auch nativ in Perl machen. Bitte um Hilfe.

Danke,
   Hilmar
--
sigfault
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.