in reply to Re: list array
in thread list array

Thanks for the info. Question if I want to only list *.rtf files out of the list. should I be using hash or could it be done another way... In my code I'm listing all the files but I only want to list "*.rtf" do you have any suggestions.

Replies are listed 'Best First'.
Re^3: list array
by Aristotle (Chancellor) on Feb 19, 2003 at 06:26 UTC
    Yes, see grep.
    print map "$_\n", grep /[.]rtf\z/i, @allfiles;

    Makeshifts last the longest.