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

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


Comment on Re: Re: Mass file search prob

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2014-09-17 18:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (94 votes), past polls