<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>We have a Global custom field called Search_Criteria in Ticket object.</div>
<div>I am using the following code snippet to display this Search_Criteria in the tickets.</div>
<div><br>
</div>
<div>Apparently the print line is not correct; but after searching the mailing lists and the wiki I cannot find the correct way to do this.</div>
<div>What is the correct way here?</div>
<div><br>
</div>
<div>
<div>my $ticketSql = "Requestor.Name = '$requestor'";</div>
<div><br>
</div>
<div>my $tickets4Requestor = RT::Tickets->new(RT->SystemUser);</div>
<div>$tickets4Requestor->FromSQL($ticketSql);</div>
<div><br>
</div>
<div>while (my $request = $tickets4Requestor->Next ) { </div>
<div>   print $request->CF.{Search_Criteria} . "\n";   ### ======> problem line.</div>
<div>}</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Thanks</div>
<div>Srikumar</div>
<div><br>
</div>
</body>
</html>