perl_n00b has asked for the wisdom of the Perl Monks concerning the following question:

I am reading in a directory but would like to capture each filename into a variable as it is ran through. How do I go about this?
Thanks in advance!

Replies are listed 'Best First'.
Re: Capture filename
by ikegami (Patriarch) on Jul 24, 2009 at 05:08 UTC
Re: Capture filename
by ropey (Hermit) on Jul 24, 2009 at 06:22 UTC

    Its usually considered good form if you post what you have tried to do first..

Re: Capture filename
by imrags (Monk) on Jul 24, 2009 at 05:41 UTC