in reply to read and link !
You need opendir and readdir.
"The first rule of Perl club is you do not talk about Perl club." -- Chip Salzenberg