[rt-users] Multi-word statuses in RT 3.4.x?

Jesse Vincent jesse at bestpractical.com
Mon Oct 24 12:27:34 EDT 2005


> 
> It's against the rules of Perl to let me make the name of a sub be a
> multi-word string.
> 
> Can I do something like this?
> 
> sub WaitingForInput {
>     my $self = shift;
>     return ( $self->SetStatus('waiting for input') );
> }
> 

You don't need those subs. you need to massage the list of possible
status values, which, iirc, is in the config file these days.

Jesse

> How does RT know that the sub WaitingForInput is the handler for the
> status "waiting for input"?
> 
> 
> Thanks in advance!
> 
> 
> --
> - Grant Miller <grantmiller1 at gmail dot com>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Be sure to check out the RT Wiki at http://wiki.bestpractical.com
> 
> Buy your copy of our new book, RT Essentials, today!
> 
> Download a free sample chapter from http://rtbook.bestpractical.com
> 

-- 



More information about the rt-users mailing list