[rt-users] PErl question for RT Status values

Kevin Falcone falcone at bestpractical.com
Mon Feb 1 15:46:54 EST 2010


On Mon, Feb 01, 2010 at 11:45:31AM -0800, Ken Crocker wrote:
> To list,
> 
> In the past (3.6.4) I was able to add a couple values for my @active 
> ticket statuses by modifying the RT_SiteCOnfig.pm values thus:
> 
> @ActiveStatus = ('new', 'open', 'pending QA', 'QA approvd', 'stalled') 
> unless @ActiveStatus;
> 
> Now, with the more stringent syntax, I have this:
> 
> Set(@ActiveStatus, (qw(''new' 'open' 'pending QA' 'QA approvd' 'stalled')));

perldoc -f qw will tell you more about what it does (and why it is
huring yout)

Just do

Set(@ActiveStatus, ('new', 'open', 'pending QA', 'QA approvd', 'stalled'));

-kevin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20100201/c0ab9880/attachment.sig>


More information about the rt-users mailing list