Thread opendir (14 answers)
Opened by Gast at 2009-05-23 10:14

Gast Gast
 2009-05-23 10:14
#121844 #121844
Hi!

Wie muss ich das ändern, damit es ohne Fehlermeldung funktioniert?

Code (perl): (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env perl6


my $directory = '/data';

my $dh = $directory.opendir orelse die $!;

    
for $dh.readdir {
    .say;
}

$dh.closedir;


Quote
Method 'opendir' not found for invocant of class 'Str'

View full thread opendir