in reply to is this horrible?

Alternative without statement modifier and with a default ($os always defined):

($os) = ($description =~ /(windows|linux|solaris)/i , 'n/a');
Update: Default could be $^O instead of 'n/a', though.