[rt-devel] script to test for keyword ?

darren chamberlain darren at boston.com
Tue Dec 9 09:54:51 EST 2003


* Alan Horn <ahorn at deorth.org> [2003/12/08 15:30]:
> sub IsApplicable {
>     my $self = shift;
>     if ($self->TicketObj->KeywordSelect-2 eq '1.5') {
                            ^^^^^^^^^^^^^^^

Perl identifiers are limited to alphanumics and underscores, so this
will be interpreted as:

  if (($self->TicketObj->KeywordSelect) - 2) eq '1.5') {

which is probablt not what you mean.

(darren)

-- 
When it is dark enough, you can see the stars.
    -- Ralph Waldo Emerson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 269 bytes
Desc: not available
Url : http://pallas.eruditorum.org/pipermail/rt-devel/attachments/20031209/c2ac9f6c/attachment.pgp


More information about the Rt-devel mailing list