in reply to Running find.exe for multiple extensions
I'd use File::Find
use File::Find; use strict; use warnings; find(sub { print $File::Find::name if /\.(?:h|c|sh)$/; }, '.');
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Running find.exe for multiple extensions
by Anonymous Monk on Apr 29, 2011 at 23:13 UTC | |
by wind (Priest) on Apr 29, 2011 at 23:21 UTC |