[rt-devel] create tickets per script

Petter Reinholdtsen pere at hungry.com
Wed Jan 28 08:00:07 EST 2004


[Tina Schade]
> my $ticketId = $ticket->Create(	Queue => 6,
> 				Requestor => 33,
> 				Cc => 24,
> 				AdminCC => 26,
> 				Owner => 29,
> 				Subject => 'Test 4 mit perl',
> 				Starts => localtime(),
> 				Priority => 20
                                           +++++
> 				MIMEObj => $mimeObj);

Missing comma after '20' and 'MIMEObj'.

> But I get always this error:
> syntax error at /home/borsti/Documents/perl/RT_test/Ticket.pl line 34, near 
> "MIMEObj"
> Execution of /home/borsti/Documents/perl/RT_test/Ticket.pl aborted due to 
> compilation errors.

At least that is my guess based on this error message.



More information about the Rt-devel mailing list