in reply to Mass file search prob
Well, if you want to search by time, but on a certain date, your going to have to ask for the time and date, then you could say.
my $name = 'Ben Kittrell'; $name=~s/^(.+)\s(.).+$/\L$1$2/g; my $nick = 'tha' . $name . 'sta';for (@ARGV) { if ($_=~ m/(\w+)\.(\d+)\.(\d+)\.(\d+)$/) { if (($3>= $datemin) && ($3 <= $datemax) && ($4>= $timemin) && ($4 +<= $timemax)) { push(@{$mylist{$3}}, $_); } } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Mass file search prob
by brassmon_k (Sexton) on Apr 04, 2001 at 21:21 UTC | |
|
Re: Re: Mass file search prob
by brassmon_k (Sexton) on Apr 10, 2001 at 01:13 UTC |