Help for this page

Select Code to Download


  1. or download this
    use File::Find::Rule;
    my @files = File::Find::Rule->file->maxdepth(1)->name('*.xml')->in( @d
    +irs );
    
  2. or download this
    use Path::Class::Rule;
    my @files =  Path::Class::Rule->new->file->max_depth(1)->name('*.xml')
    +->all( @dirs );