<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Joop,<br>
<br>
Nope. Didn't work. It looks like once I code "Set", it takes everything
inside theinner paranthesis literally.<br>
<br>
I suppose I <i><b>COULD</b></i> go into RT_Config and change it back
to the old syntax so my override in RT_SiteConfig would work. But I
don't like that because I like to think of RT_Config as untouchable. A
"local" version won't work either. I found it rather frustrating that
there was no reference to the "Set" command in either of the books I
looked at. I'll try google next.<br>
<br>
Kenn<br>
LBNL<br>
<br>
<br>
On 2/1/2010 12:15 PM, Joop van de Wege wrote:
<blockquote cite="mid:4B673672.3050204@mococo.nl" type="cite">
<pre wrap="">Ken Crocker wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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')));
The problem is that the single quotes end up as part of the value. I
can't just remove them because I need to protect the integreity of two
values that include an embedded space ('pending QA' and 'QA approvd').
</pre>
</blockquote>
<pre wrap=""><!---->Did you try to use double quotes?, like
Set(@ActiveStatus, (qw("'new' 'open' 'pending QA' 'QA approvd'
'stalled'")));
Regards,
Joop
_______________________________________________
<a class="moz-txt-link-freetext" href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users">http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users</a>
Community help: <a class="moz-txt-link-freetext" href="http://wiki.bestpractical.com">http://wiki.bestpractical.com</a>
Commercial support: <a class="moz-txt-link-abbreviated" href="mailto:sales@bestpractical.com">sales@bestpractical.com</a>
2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22 & 23
Dublin, Ireland - Mar 15 & 16
Boston, MA, USA - April 5 & 6
Washington DC, USA - Oct 25 & 26
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at <a class="moz-txt-link-freetext" href="http://rtbook.bestpractical.com">http://rtbook.bestpractical.com</a>
</pre>
</blockquote>
</body>
</html>