KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I usually use something like my $dir="/path/to/dir"; opendir(DIR, $dir) or die "can't open $dir: $!"; my @files = readdir DIR; closedir DIR; or sometimes I use glob , but anyway, I always need to add a line or two to filter out . and .. which is quite annoying. How do you usually go about this common task?
Tags (comma-separated)
Save Edits
Cancel