Hi, I'm not sure what you mean. Sounds like you want a hash to map values in one set to values in other set.
Something like this: my %map = ( 'level' => 'queue', ... ); my $qname = $map{ $level }; On Thu, Oct 20, 2011 at 12:40 AM, Srikumar Nair <srikum...@fb.com> wrote: > I have a Custom Field on the Queue object called 'Support Level' with > various support levels (Different Queue for different support levels) > How can I choose the Queue (with Perl APIs) based on the Support Level I > receive as input? > I want to assign the Ticket to the correct queue during Ticket creation > (BTW, I create Tickets with Perl APIs). > Does any one has some Perl code snippets that uses the RT APIs? > Thanks a bunch.. > > -------- > RT Training Sessions (http://bestpractical.com/services/training.html) > * Washington DC, USA — October 31 & November 1, 2011 > * Barcelona, Spain — November 28 & 29, 2011 > -- Best regards, Ruslan. -------- RT Training Sessions (http://bestpractical.com/services/training.html) * Washington DC, USA October 31 & November 1, 2011 * Barcelona, Spain November 28 & 29, 2011