[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Omaha.pm] opendir, readdir vs. glob



Ok, when glob is this easy to use why have I been using opendir and readdir for years?

my @files = glob "/home/jhannah/*";

What could be simpler than that? Anyone out there using Perl on Windows? Does glob work there?

http://perldoc.perl.org/functions/glob.html

j