in reply to Re: if/elsif statement troubles
in thread if/elsif statement troubles

Slightly better:
$ora = exists $srhash {$dtype} ? $srhash {$dtype} : $dtype;

just in case "0", "" or undef is one of the possibilities.

Abigail