Mike Friedman wrote:
> On Sun, 5 Aug 2007 at 15:10 (-0400), Mathew Snyder wrote:
>
>> I've been trying to figure out how to dereference the hash but I
>> haven't been successful.
>
> Mathew,
>
> Don't you want $ticket->RequestorAddresses, rather than
> $ticket->Requestors? The latter returns the ticket's requestors as an
> RT::Group object, whereas the former returns all the Requestor email
> addresses as a comma-delimited string.
>
> Mike
> ======================================================================
*ding ding ding ding*
We have a winner. :D Thanks. For some reason, that hadn't even occurred to me
despite looking directly at it on more than one occassion.
Mathew
>>> while (my $ticket = $tix->Next) {
>>> print $ticket->Requestors . "\n";
>>> if (exists($skipEmails{$ticket->Requestors}) or
>>> $ticket->Requestors == "") {
>>> next;
>>> }
>>> else {
>>> push @emails, $ticket->Requestors;
>>> }
>>> # $ticket->SetStatus("deleted");
>>> }
>
> _________________________________________________________________________
> Mike Friedman Information Services & Technology
> [EMAIL PROTECTED] 2484 Shattuck Avenue
> 1-510-642-1410 University of California at Berkeley
> http://socrates.berkeley.edu/~mikef http://ist.berkeley.edu
> _________________________________________________________________________
>
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com