On 11/2/05, <b class="gmail_sendername">Joby Walker</b> <<a href="mailto:joby@u.washington.edu">joby@u.washington.edu</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
It is an error but the two statements in the book are equivalent:<br><br>pg 88<br><br>if ($Transaction->CreatorObj->id != $RT::Nobody->id){}<br><br>pg 89<br><br>unless ($Transaction->CreatorObj->id == $RT::Nobody->id){}
<br><br><br>Different ways to check for the same negative; "if this is not true" vs.<br>"unless this is true".</blockquote></div><br>
I see. I also hadn't noticed that the comparison operators had been changed as well.<br>
<br>
New question: On page 88, right after that if statement, in the next
line, that starts off "my $user", shouldn't that first 'RT' in the line
have a dollar sign in front of it, or is my lack of perl knowledge
showing through too much? :)<br>
<br>
TIA<br clear="all"><br>-- <br>        -ste