<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:10pt"><div>Hi-<br><br>I'm sorta new to creating my own templates and to RT in general.  One thing I would like to do is create a custom template that has some perl embedded in it.  The docs I found seem to indicate that I can use the Text::Template method of embedding perl, i.e., use '{}' to surround the code block, but that does not seem to work.  For a test, I just created a custom template with this (using Autoreplay as a example, but calling it "AutoTest":<br><br>Subject: AutoReply: {$Ticket->Subject}<br><br><br>Greetings,<br><br>This message has been automatically generated in response to the<br>creation of a trouble ticket regarding:<br>    "{$Ticket->Subject()}".<br><br>{print "This is a
 test\n";}<br><br>                        Thank you,<br>                        {$Ticket->QueueObj->CorrespondAddress()}<br><br>-------------------------------------------------------------------------<br>{$Transaction->Content()}<br><br>When I receive the reply from this template, where it should be printing out "This is a test", I just get "main::STDOUT".<br><br>Thanks-<br>Chuck C.<br></div></div><br>

<hr size=1>
Don't get soaked.  Take a<a href="
http://tools.search.yahoo.com/shortcuts/?fr=oni_on_mail&#news"> quick peak at the forecast </a><br> with the<a href="
http://tools.search.yahoo.com/shortcuts/?fr=oni_on_mail&#news">Yahoo! Search weather shortcut.</a></body></html>