Public bug reported:

I've been trying to get this peice of code working for a perl script
I expected this code
-------------------------
$totalLenghMins = qx/dcop amarok collection query "SELECT SUM(length) from 
Tags;" 2>1/;
        
if ($totalLengthMins == "") 
{ Xchat::print("This will print every damn time"); }
Xchat::print($totalLengthMins)
-------------------------
to print a number bigger than 0 as it does in if I run very similar code in a 
normal perl script

what happens instead is
the if statement always evaluates to true

** Affects: xchat (Ubuntu)
     Importance: Undecided
         Status: New

-- 
xchat perl plugin not working
https://bugs.launchpad.net/bugs/420306
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to