Such an elegant solution - thank you.
> This can be done with one ternary operator: > my $value = $self->TicketObj->FirstCustomFieldValue('RMA Type') eq > 'Student Withdrawl' ? "RMA-" . $Num : "RMA-" . $Num . $Append; > > Some notes: > - The condition here is: $self->TicketObj->FirstCustomFieldValue('RMA > Type') eq 'Student Withdrawl' > - If the condition is true then $value will equal what's between the ? and > the : (colon) > - If the condition is false then $value will equal what's between the : > and the ; (semi-colon) > >