# Perl IF shortcut
$varA = 13;
$varB = 4;
$valid =  ($varA == $varB ? 'valid' : 'invalid');

print "Result: $valid\n";