Help for this page
? 'foo' : 'bar'; ... } # ?
if ($foo =~ ?bar?)
my $x = 2 ? 'foo' : 'bar'; ... } # ?
my
$x
=
2
syntax error at t.pl line 9, near "){" String found where operator expected at t.pl line 10, near "case 'y'" (Do you need to predeclare case?) Execution of t.pl aborted due to compilation errors.