Umm... So would this do what I want also?
($ptype)=($projection =~ /movable.+(sine|geo|radial|ortho)/i)
or $ptype="(missing)";
I think the correct is:
$ptype = ($projection =~ /movable.+(sine|geo|radial|ortho)/i) ||
"(missing)";
'||' will be tight with ( $projection =~ ... ) because it has higher
precedence than 'or'. The way you wrote it will assign "(missing)" to
$ptype, then $ptype's value to $ptype again. It works but not the way you
think.
Maybe someone could correct me :-) ?
--
Igor Sutton Lopes <[EMAIL PROTECTED]>