Thanks! Duh!

on to the next set of errors......


-----Original Message-----
From: Jeff 'japhy' Pinyan [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 02, 2001 4:12 PM
To: Wright, Thomas
Cc: [EMAIL PROTECTED]
Subject: Re: problems with eof and variable


On Nov 2, Wright, Thomas said:

>Hi folks,
>
>Be gentle, this is my very first Perl program, and it is basically a batch
>file processing task, nothing fancy. 
>I know it is not the most efficient, but I want to keep it as simple and
>clear as possible. Once I get it working, I can make it tighter.

Your errors are due to missing parentheses around your conditionals.

  if (COND) { ... }
  until (COND) { ... }

and so on.  You're leaving out the parentheses.

-- 
Jeff "japhy" Pinyan      [EMAIL PROTECTED]      http://www.pobox.com/~japhy/
RPI Acacia brother #734   http://www.perlmonks.org/   http://www.cpan.org/
** Look for "Regular Expressions in Perl" published by Manning, in 2002 **

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

Reply via email to