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

GwenDragon
 2009-05-27 17:28
#121949 #121949
User since
2005-01-17
14745 Artikel
Admin1
[Homepage]
user image
Hmm, seltsam.
In PUGS geht es.

U:\>perl6
______
/\ __ \
\ \ \/\ \ __ __ ______ ______ (P)erl 6
\ \ __//\ \/\ \/\ __ \/\ ___\ (U)ser's
\ \ \/ \ \ \_\ \ \ \/\ \ \___ \ (G)olfing
\ \__\ \ \____/\ \____ \/\_____\ (S)ystem
\/__/ \/___/ \/___/\ \/____/
/\____/ Version: 6.2.13
\/___/ Copyright 2005-2007, The Pugs Contributors
--------------------------------------------------------------------
Web: http://pugscode.org/ Email: perl6-compiler@perl.org

Welcome to Pugs -- Perl6 User's Golfing System
Type :h for help.

Loading Prelude... Reloading Prelude from source...done.
pugs> my $directory = '.';
pugs> my $dh = opendir( $directory ) err die $!;
pugs> for $dh.readdir {
....> .say;
....> }
.
..
.bash_history
.rainlendar2
.VirtualBox
.wgetrc
BATCH
CDBurnerXP Projects
Desktop
desktop.ini
Dokumente und Einstellungen.lnk
Downloads
Eigene Bilder
Eigene Musik
Eigene Videos
Favorisiertes Design.theme
Fiddler2
Grafik
Mail
My Library
Office Vorlagen
Photoshop Einstellungen
PUTTY.RND
Recht
SnagIt Katalog
undef
pugs> $dh.closedir;

View full thread opendir