But now I just want to do this:print "data is " , $mac eq $old ? "SAME" : "DIFF" , "\n";
but it doesnt work. What am I doing wrong?$mac eq $old ? "SAME" : "DIFF" , "\n";
In reply to conditions not working by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |