01.06.2013 Views

Formation Perl - Inra

Formation Perl - Inra

Formation Perl - Inra

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Gestion de fichiers<br />

Fermeture : close FILE;<br />

Lecture : $ligne = ;<br />

Ecriture : print FILE « Voici ma séquence\n »;<br />

Parcours :<br />

open ( ENTREE, « fichier_entree » );<br />

open ( SORTIE, « >fichier_sortie » );<br />

while ( $ligne = ) {<br />

print SORTIE « $ligne »; }<br />

close SORTIE;<br />

close ENTREE;

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!