[Rt-devel] Show disabled scrips

Garry T. Williams garry.williams at cbeyond.net
Thu Nov 30 08:43:37 EST 2006


On Tuesday 28 November 2006 10:00, David Chandek-Stark wrote:
> For some reason, 
> 
>         $scrip->Stage == 'Disabled'
> 
> and 
> 
>         $scrip->Stage == 'TransactionCreate'
> 
> are always true.

Perhaps that's because the == operator in Perl is for numeric values.
I think you are looking for the eq operator.

-- 
Garry T. Williams --- 678-370-2438



More information about the Rt-devel mailing list