> -Original Message-
> From: Karsten Borgwaldt [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 09, 2002 10:29 AM
> To: [EMAIL PROTECTED]
> Subject: reading from directories => no values
>
>
> Hi all,
>
> can anybody tell me, why I can't push
Karsten Borgwaldt wrote:
>
> Hi all,
>
> can anybody tell me, why I can't push any read values into an array?
>
> my code is:
> ..
> ..
> ..
> opendir(IN, "some_path") || die "opendir: $!";
> rewinddir(IN);
> while (defined($_ = readdir(IN)))
> {unless (m/^\.{1,2}$/ or not m/'.foo'$/) # all f
Hi all,
can anybody tell me, why I can't push any read values into an array?
my code is:
..
..
..
opendir(IN, "some_path") || die "opendir: $!";
rewinddir(IN);
while (defined($_ = readdir(IN)))
{unless (m/^\.{1,2}$/ or not m/'.foo'$/) # all files, that are not "." or ".." and
that end ".foo"!