# $Id$ $variable = "value" $cooltest = $variable ? { other => yayness, value => goodtest } if $variable == "other" { $cooltest = "yayness" $platform = $operatingsystem } elsif $variable == "value" { $cooltest = "goodtest" $platform = $operatingsystem } else { $goodness = $operatingsystemrelease } if "value" == "value" { $booyah = "value" }