[EMAIL PROTECTED] wrote: > > hi, how can i use a real regex with this: > > File::Find::name if -x? > > the filetestops are working fine, but how can i filter things like > .gz$? i tried many ways, but all failed. any idea? thanks!!
File::Find puts the current file name into $_ in the callback sub so if want to see if a file name ends with '.gz' you don't have to use File::Find::name. John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]