Help for this page

Select Code to Download


  1. or download this
    use File::Glob 'bsd_glob';
    my @files = ( bsd_glob("$Dir1/*"), bsd_glob("$Dir2/*") );
    
  2. or download this
    use Path::Class qw/dir/;
    my @files = ( dir($Dir1)->children, dir($Dir2)->children );