in reply to list array

print join("\n", @allfiles);

Replies are listed 'Best First'.
Re: Re: list array
by skyler (Beadle) on Feb 19, 2003 at 01:52 UTC
    Thanks fro 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...
      print join( $/, grep( /\.rtf$/, @allfiles ));
      as well as all the variations indicated by tachyon, just using the result of grep() in place of the original array.