Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

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

Replies are listed 'Best First'.
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://69776]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2018-06-18 00:23 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (107 votes). Check out past polls.