in reply to Re: Directory contents
in thread Directory contents

This is the idea I had, but I need to get it to also fill in any subdirectories it finds.

A

Replies are listed 'Best First'.
Re: Re: Re: Directory contents
by broquaint (Abbot) on Jan 28, 2004 at 16:04 UTC
    Then File::Find::Rule should do the trick e.g
    use File::Find::Rule; my @files = find(file => in => \@ARGV);
    HTH

    _________
    broquaint

      This works great thanks.

      Is there any way to get it to only list files that exist and skip those that don't without an error message?

      A