Java Mailing List Archive

http://www.apache-httpd.com/

Home » modperl.perl »

How to get a file listing

ceauke

2010-02-18

Replies: Find Java Web Hosting

Author LoginPost Reply

Hi guys

I wanted to do a simple script to show all pictures in a specific folder.
But I don't see any functions to read all files in a folder.

The logic needs to go something like this:
- Open directory to read file list
- If file like *.gif then print filename

Any tips?
--
Sent from the mod_perl - General mailing list archive at Nabble.com.

©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.