On Wed, Jun 06, 2001 at 02:02:33PM -0500, David Blevins wrote: [snip] > my @list1 = grep(/$year_$month_.*01\.txt/, @allFiles); > my @list2 = grep(/$year_$month_.*01a\.txt/, @allFiles); [snip] These regexes look for variables $year_ and $month_. Let me guess -- you're not using warnings, right? :-P -- Just Another Perl Hacker.
- grep and regular exp. David Blevins
- RE: grep and regular exp. John Joseph Trammell
- RE: grep and regular exp. David Blevins
- RE: grep and regular exp. Jeff 'japhy' Pinyan