[Cascavel-pm] Descartar Linha arquivo

Fernando Oliveira fernandocorrea em gmail.com
Quarta Abril 28 07:07:47 PDT 2010


   open my $fh, '<', "$ar" or die "Can't read file\n";
   while ( <$fh> ) {
       next if $. <= 4;
       ...
   }
   close $fh;

Just another Perl Hacker,
Fernando (SmokeMachine)
http://perl-e.org


Em 28 de abril de 2010 10:59, Nelson Ferraz <nferraz em gmail.com> escreveu:

>    open my $fh, '<', "$ar" or die "Can't read file\n";
>    while ( <$fh> ) {
>        # ...
>    }
>    close $fh;
>
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: <http://mail.pm.org/pipermail/cascavel-pm/attachments/20100428/ee2604a9/attachment.html>


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