use File::Find; find (\&wanted, @ARGV); sub wanted { return unless /\.jpe?g$/i; print "Found $_\n"; } [download]
In reply to Re^2: shell to perl question by inman in thread shell to perl question by tech2040