Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Re: Mass file search prob

by brassmon_k (Sexton)
on Apr 04, 2001 at 22:19 UTC ( #69776=note: print w/ replies, xml ) Need Help??


in reply to Re: Mass file search prob
in thread Mass file search prob

First off you're very good at this - Second however take in the fact that I'm a beginner on PERL. Of course Input Parsing is easy for someone with a Phd and the Doctors title. I'm not being nasty I'm just saying it isn't easy for me. However I think I understand what you're doing. I don't understand the first reply though because the individual states $datemin and $datetime those have to be defined somewhere and I don't have a clue on how to do this....I was hired at a starting position and all I've ever programmed are shell scripts (Which I'm very good at) but the company I work for went to PERL (Can't blame em) So I'm learning PERL and it's quite different it has so many things you can do with it. Talking to it is different than shell. So bear with me please.

The Brass Monk


Comment on Re: Re: Mass file search prob
Re: Re: Re: Mass file search prob
by brassmon_k (Sexton) on Apr 10, 2001 at 17:56 UTC
    I found my own answer. All I had to do was add a datemin and datemax along with a timemin and timemax under my list and I had to create a second range because "split" can only handle 2 variables and didn't want 4 so I had to give it a time search and a date search and I also took out trailing and leading spaces with date/min,max and time/min,max. Finally in the if statement before the data gets pushed onto the keys I added $4 onto the $3 gt and le statements basically by doing it again and for the push statement that still remains $3 as it is keyed on date to weed out the time.

    The BrassMonk

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2014-12-26 20:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls