Hi! 2008/10/27 Kenneth Crocker <[EMAIL PROTECTED]>: > I thought that "return unless" defaulted to "return 1 unless", but I > changed it anyway.
If you don't define a value, it is undefined. There is a special value named 'undef' in Perl just for that. It evaluates to zero on numeric comparison, and false on boolean. > I tried your "set" code and that didn't work. Any other ideas? > if ($org = 'XXX') You probably want to compare two strings with "$org eq 'XXX'" rather than set $org's value to 'XXX', which is what "=" does. Cheers, -- Kalle Hallivuori +358-41-5053073 http://korpiq.iki.fi/ _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: [EMAIL PROTECTED] Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
