My bad, all access to ARGSRef need to be like this:<br><br> $ARGSRef->{'id'}<br> $ARGSRef->{'Subject'}<br><br>With the ->. <br>
<br clear="all">--<br>Mathieu Longtin<br>1-514-803-8977<br>
<br><br><div class="gmail_quote">On Sun, Oct 17, 2010 at 8:48 PM, Jason Edgar <span dir="ltr"><<a href="mailto:superjuke@gmail.com">superjuke@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Thanks Mathieu: I got it. An extra $ was needed before ARGSRef from line 3. I have no idea what it is for, I followed other examples from the Internet.<br>
Also the description field is called 'content'. Thanks again.<br>
<div class="im"><br>
<br>
On Sun, 17 Oct 2010 11:35:08 -0400, Mathieu Longtin wrote:<br>
</div><div><div></div><div class="h5">> <%INIT><br>
> my $ARGSRef = $ARGS{'ARGSRef'};<br>
> if ( not $ARGSRef{'id'} ) { # Check if the ticket is really empty<br>
> before doing anything $ARGSRef{'Subject'} ||= 'Default subject';<br>
> $ARGSRef{'Requestor'} ||= '<a href="mailto:mydefault@requestor.com">mydefault@requestor.com</a>'; } </%INIT><br>
> <%ARGS> </%ARGS><br>
<br>
<br>
</div></div></blockquote></div><br>