[Rt-devel] Possible RT testing bug

Vivek Khera vivek at khera.org
Wed Mar 9 17:14:53 EST 2005


On Mar 9, 2005, at 4:29 PM, Todd Chapman wrote:

> RT::Ticket::Create returns an array, so when evaluated in
> a scalar context it is always true. Correct?
>

in a scalar context an array evaluates to the number of elements in it, 
so it is not always "true".

Vivek Khera, Ph.D.
+1-301-869-4449 x806



More information about the Rt-devel mailing list