[EMAIL PROTECTED] (Guillaume Cottenceau) writes: > garrick <[EMAIL PROTECTED]> writes: > > > > > Clicking on "Console" in mcc results in this error: > > > > sh: -c: line 1: syntax error near unexpected token `ARRAY(0x84eb9a8)' > > > > sh: -c: line 1: `ARRAY(0x84eb9a8) &' > > > > Someone didn't dereference an array correctly :) > > > > > > Line 583 of drakconf.real: > > > system(($alternate ? $alternate : $exec) . " &"); > > > > > > $alternative is actually an array ref, this fixes this problem: > > > system(($alternate ? $alternate->[0] : $exec) . " &"); > > > > My bad, the correct line is: > > system(($alternate->[0] ? $alternate->[0] : $exec) . " &"); > > Well better: > > system(($alternate->[0] || $exec) . " &"); > > Dams?
well, $alternete is a simple string in the case of gtk tool, and an array ref in the case of external application. I have not tested it in the case of non embedded mode. Thanks for the bug. So the pb is not a dereferencing, I'm not that bad at perl :) -- dam's
