Is there neq for strings?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Is there neq "not equal" operator in Perl?
I want to do something like this:

if ($a eq "abc") {
          print "hello";
} elsif ($a neq "bcd") {
          print "hello2";

Re: Is there neq for strings? wrote:
Quoted text here. Click to load it

Is there documentation available on your system?

perldoc perlop

Arne Ruhnau

Site Timeline