Shawn H Corey wrote:
On Wed, 02 Oct 2013 13:57:36 -0400
Peter Holsberg<pjh42atpobox....@gmail.com>  wrote:

<blushing>  I was so upset that I deleted it all! It seems to me that
it should be fairly straightforward, but at 79, the old synapses
aren't firing quite as well as they used to.

Can you get me started?

Sure:

my @files = grep { /^\d{6}\.htm$/i } glob( '*.htm' );


my @files = glob '[0-9][0-9][0-9][0-9][0-9][0-9].[Hh][Tt][Mm]';



John
--
Any intelligent fool can make things bigger and
more complex... It takes a touch of genius -
and a lot of courage to move in the opposite
direction.                   -- Albert Einstein

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to