Always group reply so others can help and be helped by your questions and the answers.


------------------------------------------------
On Tue, 11 Feb 2003 21:11:38 -0600, Mark VanMiddlesworth <[EMAIL PROTECTED]> wrote:

> Wow, thanks for the help. I didn't use strict or use warnings 
> because... ummm... I dont know. Do I need to? I'm just learning. 


Might as well learn the right way :-), I didn't (dang it).  Many aspects of Perl as 
the saying goes gives you abundance rope to hang yourself with, strict and warnings 
take some of this away until you know how to use that rope properly.  In general it is 
good practice and will reduce the amount of time spent debugging with only a tiny 
(very tiny) amount of extra time coding originally.


Where 
> should the missing parentheses go on my if statements? Thanks a lot

> >>                         open (LOG, ">>/perl/pinglog.txt";
> >

In the line above you "open" (no pun intended) the parenthesis (grouping) but never 
close it, which is a syntax error.  You needed a ')' after the '"' but before the ';'.

http://danconia.org

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to