Don't ask to ask, just ask | |
PerlMonks |
Re: Re: Grep Pattern Matchby LostS (Friar) |
on Dec 27, 2002 at 15:46 UTC ( [id://222556]=note: print w/replies, xml ) | Need Help?? |
Thank you... Your nudge got me in the right direction. here is the code I am using:
@files = grep {/^nc$digyear$digmon.*\.log$/} @files; Works like a charm :)
----------------------- Billy S. Slinar Hardtail - Hand of Dane Datal Ephialtes - Guildless RallosZek.Net Admin/WebMaster
In Section
Seekers of Perl Wisdom
|
|