Is there a way to negate the elsif statement with following pattern match statement something like $ip != $testip
(I know !=
only for integers, just wanted to explain what I want. The same function of != for string when pattern matching)
if($testip =~ /$ip/){ $frequency++; } elsif ($ip ne $testip){
Aucun commentaire:
Enregistrer un commentaire