It is working now, Thanks I do program in Perl it is learning RT variables that is slowing me down. I wish there was a cheat sheet or something like that. Janet
On 9/23/10 11:45 AM, "Kevin Falcone" <[email protected]> wrote: > On Thu, Sep 23, 2010 at 11:28:54AM -0400, Bass, Janet E. wrote: >> Yes, It seemed like overkill and had a learning curve. I was hoping there >> was an easy fix in my code. >> >> >>>> $self->TicketObj->$SetPriority = $Priority; > > If you want to stay with your code, look at that line. > There are at least 2 huge errors with it. > SetPriority is a method not a variable and you don't assign to it, you > pass it an argument. > > RT-Extension-PriorityAsString was written so that people who aren't > perl programmers wouldn't have to write this scrip. > > -kevin -- Janet Bass Unix System Administration Manufacturing Engineering Laboratory 304/Room 12 100 Bureau Dr Mailstop 8203 Gaithersburg, MD 20899-8203 EMAIL: [email protected] PHONE: 301-975-8425 RT Training in Washington DC, USA on Oct 25 & 26 2010 Last one this year -- Learn how to get the most out of RT!
