in reply to Re: Mass file search prob
in thread Mass file search prob
Your code will not work. You have to define datemin, datemax, timemin, timemax in the mylist portion also.
Strict gives problems to. You have to put $datemin, $datemax, $timemin, $timemax into arrays.
@date = ($datemin, $datemax)
@time = ($timemin, $timemax)
You also need to tell shift how to separate both date and time by dashes.
Finally if you do all that (I'm a novice) I will not get any errors but when I do a
search on (Didn't figure out how to tell split what to do and I'm guessing that's why I get the following errors).
Use of uninitialized value in numeric ge (<=) at line blah
Use of uninitialized value in numeric le (>=) at line blah
I'm thinking either I'm not telling the script what to do with $4 or
Since "split" is defined wrong for the search query the script can't initialize
$3 or $4 for the search. So if you don't mind clarifying what you intended please do so.
The Brass Monk