Omit the ")"

your code:

   last if $contents =~ /^[^\#]/ );

should be:

   last if $contents =~ /^[^\#]/;

> From: Andrew Staples [mailto:[EMAIL PROTECTED]]
> Can someone tell me why I get a syntax error with this line 
> of code? 
> 
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

Reply via email to