Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: How to read each line of file into an array and split contnts of each line into array cells

by crazy-duck (Novice)
on Oct 15, 2013 at 02:38 UTC ( #1058228=note: print w/replies, xml ) Need Help??


in reply to Re: How to read each line of file into an array and split contnts of each line into array cells
in thread How to read each line of file into an array and split contnts of each line into array cells

Hi Ken

Thank you for your response and appreciate all your efforts in helping here, for the above script can we amend to do a text comparision "**FAILED PROD**" that comes in between 6pm to 6am inclusive.

Thank you cd
  • Comment on Re^2: How to read each line of file into an array and split contnts of each line into array cells

Replies are listed 'Best First'.
Re^3: How to read each line of file into an array and split contnts of each line into array cells
by kcott (Chancellor) on Oct 15, 2013 at 08:29 UTC
    "Thank you for your response and appreciate all your efforts in helping here,"

    You're welcome.

    "for the above script can we amend to do a text comparision "**FAILED PROD**" that comes in between 6pm to 6am inclusive."

    I don't understand this:

    • I don't know who you are referring to when you say "we".
    • If you're asking for some sort of permission to use/modify this code, you don't need to.
    • The code is already dealing with "6pm to 6am inclusive".

    -- Ken

      Hi Ken

      The script is pulling up all the details that is coming in between 6pm to 6am, But we need to capure on ly those that are starting with **FAILED PROD** between 6am to 6pm

        Maybe you want to invert the condition then?

        Somewhere in the code you already have, the program makes a decision based upon the log time, when that value is between 18:00 and 6:00 . Based on that decision, it takes an action.

        Your task is to identify the decision and invert it. So the program makes the decision when the value is not between 18:00 and 6:00.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (1)
As of 2018-08-22 02:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Asked to put a square peg in a round hole, I would:









    Results (204 votes). Check out past polls.

    Notices?