On Fri, Aug 25, 2006 at 11:37:25PM +0900, Marco Lazzeri wrote:
> Marco Lazzeri wrote:
> > Could someone please help me understanding why the next two lines of 
> > code are different?
> > 
> >   next unless line =~ /=/
> > 
> >   next if !line =~ /=/
> 
> I found out: it's a operators precedence problem.
> 
>   next unless line =~ /=/
>   next if !(line =~ /=/)  # with parenthesis

Have you considered this alternative?
  next if line !~ /=/

/me stirs the pot a little.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
"The ability to quote is a serviceable
substitute for wit." - W. Somerset Maugham