[rt-users] A little perl scrip help

Mark Jenks mark.jenks at iodincorporated.com
Fri Jun 18 15:06:42 EDT 2010


So you're saying it should be this?     Like I said, I'm pretty much
trying to hack my way through this. If you could complete this for me,
it would be great.

Do I need to do anything to "domain.com" to escape the "." ?


if (($Transaction->CreatorObj->id != $RT::Nobody->id) &&
    ($Ticket->QueueObj->AdminCc->MembersObj !~ m/domain.com/i) &&
    (!$Transaction->CreatorObj->Privileged) &&
    ($Transaction->CreatorObj->__Value('Password') eq '*NO-PASSWORD*')
    )


-----Original Message-----
From: rt-users-bounces at lists.bestpractical.com
[mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Jerrad
Pierce
Sent: Friday, June 18, 2010 1:53 PM
To: Kenneth Crocker
Cc: rt-users
Subject: Re: [rt-users] A little perl scrip help

The iterator is: $Ticket->QueueObj->AdminCc->MembersObj


-- 
Cambridge Energy Alliance: Save money. Save the planet.

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

CONFIDENTIALITY NOTICE:  The information contained in this email message, including any attachments, may be 
privileged, confidential and otherwise protected from disclosure.  If the reader of this message is not the 
intended recipient, you are hereby notified that any use, dissemination, distribution or copying of this 
message, including any attachments, is strictly prohibited.  If you have received this email message in 
error, please notify the sender by reply email and delete/destroy the email message, including attachments, 
and any copies thereof.  Although we have taken precautions to minimize the risk of transmitting viruses via 
email and attachments thereto, we do not guarantee that either is virus-free, and we accept no liability for 
any damages sustained as a result of any such viruses.



More information about the rt-users mailing list