sweepy838 has asked for the wisdom of the Perl Monks concerning the following question:
So i have:
it prints nothing, even though the name is there. however, this works:next unless ( grep( /$name/, @names )); print "$name isnt in the array so continue";
thx for help :)if ( grep( /$name/, @names )) { print "name is in the array"; } #but this doesnt suit my needs.
Back to
Seekers of Perl Wisdom