[rt-users] Use of uninitialized value in concatenation (.) or string

Luke Vanderfluit lvanderf at internode.com.au
Wed Dec 28 22:35:39 EST 2005


Hi.

I'm working on a script to find the number of tickets that are open or new.
Relatively simple and straightforward.
I keep getting the following warnings/debug statement:

/~~~~~~~~~~~~~~~~~~~~~~~~

[warning]: Use of uninitialized value in concatenation (.) or string at 
/usr/local/rt3/lib/RT/Tickets_Overlay_SQL.pm line 384. 
(/usr/local/rt3/lib/RT.pm:287)
[debug]: RT::Date used date::parse to make 2005-11-24 1132752600
 (/usr/local/rt3/lib/RT/Date.pm:212)
\________________________


the code that produces this is:

/~~~~~~~~~~~~~~~~~~~~~~~~

 my $tickets = new RT::Tickets($RT::SystemUser);
 $tickets->LimitStatus(VALUE => 'new');
 $tickets->LimitStatus(VALUE => 'open');
 $tickets->LimitDate(
         FIELD    => 'Created',
         VALUE    => $weekago,
         OPERATOR => ">"
         );
 $tickets->LimitQueue(VALUE => $queue->Id);
 $tickets->LimitWatcher(OPERATOR => '!=', VALUE => undef, TYPE => 
'Requestor');
 $tickets->OrderBy(FIELD => 'Priority', ORDER => 'ASC');

\________________________

Why is this warning occuring and how can I solve the underlying problem?

Thanks.
Kind regards.

-- 
Luke




More information about the rt-users mailing list