in reply to Glob Me (well, bash me)
Which if I'm not mistaken is basically what File::KGlob does internally.opendir(DIR,"/some/dir") || die "can't open: $!"; @files = grep { /\.c$/ } readdir(DIR); closedir(DIR);
Update: or you could do something truely sick like:
Sorry, couldn't resist... :)@files = `/bin/bash -c "ls /some/dir/*.c"`;
/\/\averick
|
|---|