-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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
======================================================================
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
_________________________________________________________________________
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8
iQA/AwUBRrZm7a0bf1iNr4mCEQIumgCg4kXsJm+v7CK2aQDESN6xASExbmgAnixm
Lid+57RUeunctOfc6f5ErXqu
=5UIb
-----END PGP SIGNATURE-----
_______________________________________________
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