sub get_files { chdir( $_[0] ); return glob( $_[1] ); } #### my( @files ) = get_files( '/path/to/files', '*.t' );