Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: Re: Mass file search prob

by brassmon_k (Sexton)
on Apr 10, 2001 at 01:13 UTC ( #71160=note: print w/replies, xml ) Need Help??

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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://71160]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2016-10-27 09:40 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (357 votes). Check out past polls.