hotti: opendir und ./..

Beitrag lesen

Warum 'ne Klasse?

grep {/[1]/} @ary;

?

my @dateien = grep{ not /^./ } readdir DIR;

geht natürlich auch. So mach ich das, wenn ich nicht globbe:

chdir($dir);
my @files = <*.gif>;

noreg

hottireg


  1. ^. ↩︎