At Thursday 3/27/2008 12:45 PM, Huw Selley wrote:

>And for those that didn't spot the deliberate mistake *cough* :
>
>    sub get_custom {
>      return $Ticket->FirstCustomFieldValue($_[0]) or return undef;
>    }
>
>I promise I will stop now!!
>
>Huw
>

Please don't Huw, this has been very entertaining ;)

How about just

return $Ticket->FirstCustomFieldValue($_[0]);

or even no subroutine - just use $Ticket->FirstCustomFieldValue($_[0])

Steve 

_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to