http://www.perlmonks.org?node_id=619248


in reply to Re: using split
in thread using split

Well spotted. If I had any ++ left, you'd have got one:)

The OP should have picked this up himself. I was surprised to see that it generates a warning without strict or warnings:

#!/usr/bin/perl my $x; if ( $x = 4 ) { print "Hi"; } #output Found = in conditional, should be == at /home/pm line 5. Hi