> 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/