in reply to Short and easy way to write if...elsif syntax
There sure is more than one way to do it!
$_ = 'foofum';
my $print_buffer = /linux/ ? 'This is a linux VM'
: /Windows/ ? 'This is a Windows VM'
: 'I have no idea what it is'
print $print_buffer, "\n";
There is no Extraterrestrial life
There aren't any suitably capable Extraterrestrials
Interstellar travel is too difficult
We're too uncool / not worth the trouble
What do you mean they haven't visited?
Results (473 votes). Check out past polls.