Even easier, use warnings or -w:
>perl -w my $splort; if( $splort = 0 ) { print 'narf!'; } ^Z Found = in conditional, should be == at - line 2.
In reply to Re: Avoiding the == blues
by BrowserUk
in thread Avoiding the == blues
by friedo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |