http://qs321.pair.com?node_id=438710


in reply to help needed with File::Find and arrays.

File::Find::Rule returns a list of files and uses matching criteria similar to the find command.

YuckFind

#!/usr/bin/perl use strict; use File::Find::Rule; use Data::Dumper; my @list = File::Find::Rule->file()->maxdepth(1)->in('.'); print Dumper \@list;