[rt-users] SCRIP User Defined Actions

Robert Spier rspier at pobox.com
Wed Oct 22 14:10:34 EDT 2003


>       my ($status, $msg) = $self->TicketObj->_AddCustomFieldValue(

One catch:

    Any functions matching /^_/ are RT's private internal functions.
    They are not part of the exposed interface and can change at any
    time.  (They're like "private" methods in Java or C++, but because
    of how perl works, you aren't physically prevented from using
    them.)

    Private functions may change from version to version, so using
    them is inviting odd code breakage and mental anguish.

    In this case, the fix is easy.  There is a
    RT::Ticket::AddCustomFieldValue method.  (See Ticket_Overlay.pm)

-R

    



More information about the rt-users mailing list