[Rio-pm] PATH

Daniel Hughes dsthughes em gmail.com
Sexta Fevereiro 5 05:04:34 PST 2010


ou usa em LIST-context - assim pode re-fechar o handle imediatemente depois:

opendir my $dir_fh, $dir_name or croak qq{\ncannot open dir $dir_name};
my @list = readdir $dir_fh;
close $dir_fh;

for (@list) {...


-- 
Daniel S. T. Hughes M.Biochem (Hons; Oxford), Ph.D (Cambridge)
-------------------------------------------------------------------------------------
+55 21 8344 9098
dsth em cantab.net
dsth em cpan.org
http://search.cpan.org/~dsth/
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: <http://mail.pm.org/pipermail/rio-pm/attachments/20100205/2341504a/attachment.html>


Mais detalhes sobre a lista de discussão Rio-pm