2009/5/15 Allan Carvalho escreveu:
[...]
> Ae que está o problema, como retornar um valor booleano no perl? Tentei usar
> o return mas acusa o erro que não posso usar o return fora de uma subrotina.

Use exit ao invés de return.

-- 
Bruno Schneider
http://www.dcc.ufla.br/~bruno/


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Responder a