$regex = ""; foreach $day ( 0 .. 6 ) { $regex .= $months[$mon] . $mday + $day . "|"; } chop( $regex ); ... return unless ( $string =~ /\Q$regex/oi ); ...
-derby
In reply to Re: files that include date range
by derby
in thread files that include date range
by mrchad
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |