Re: first steps with perl, a log reader

From: R. Joseph Newton (rjnewton_at_efn.org)
Date: 11/17/03


Date: Sun, 16 Nov 2003 21:19:37 -0800
To: the_guard@gmx.net

Guardian Angel wrote:

>
> I was looking for the > and < operators. I had used them with backticks
> (but gave a error message, because it was a "greater then" value,
> because i left spaces like print $a > $b instead of print $a>$b ....
> But now... i want to be more precise with my script.
> So i made 2 extra if loops, 1 is looking for errors, and if so, also
> check if there is no 127.0.0.x adres in it anymore (works so far :D)

Whoa! This is not the way to get a programming job done. Rambling does not get you there.
Before you can write effective code, you have to focus your thinking process. Don't get
caught up in fascination with coding tricks. Look for tools to accomplish clearly defined
purposes. Express those purposes, and the steps to achieve them, in plain language.

Most important, take a breath.

Joseph



Relevant Pages

  • Re: WScript.Sleep for HTA?
    ... >>> which is fine for my purposes! ... > Here's a test script; ... > Dim objWSS ... Dropping the final True seems to give a shorter delay. ...
    (microsoft.public.scripting.vbscript)
  • Re: More Bloody Cheek
    ... In message, Richard Robinson writes ... time for their purposes according to all these "suck people people into ... script, there's a script. ...
    (uk.rec.sheds)
  • Re: More Bloody Cheek
    ... Peter Thomas said: ... time for their purposes according to all these "suck people people into ... Just say something that isn't in the script. ...
    (uk.rec.sheds)
  • Re: admin newbie seeking script assistance
    ... > I just recently joined a group of system administrators, ... > I have been asked to write a perl script to monitor httpd daemons over ... > needed ASAP for aid in troubleshooting some production problems, ... > something that would work for our purposes and is relatively simple so ...
    (comp.unix.admin)
  • Re: Reading .bmp file in C
    ... Whoa!! ... Who hacked into Keith's account? ... Let's be honest about this: How can you say "One of the main purposes ...
    (comp.lang.c)