in reply to perl find module
# findmaster.pl # usage: findmaster.pl <path> # find files ending with '.master' use strict; use File::Find; if ($ARGV[0] eq "") { $ARGV[0]="."; } find (sub { if ($File::Find::name =~ /\.master$/i) { print "Found $File::Find::name\n"; } }, @ARGV);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: perl find module
by scorpio17 (Canon) on Nov 09, 2009 at 16:38 UTC | |
|
Re^2: perl find module
by RajNaidu (Novice) on Oct 30, 2009 at 09:34 UTC |