[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: debconf help



>       my $ret = go();
>       if ($ret == 30) {

(Joeyh: I think this is becoming a FAQ :P)

go returns an array, not a scalar. You want to do:

my @ret = go;
if ($ret[0] == 30) { ... }

randolph
-- 
Debian Developer <tausq@debian.org>
http://www.TauSq.org/


Reply to: