This is my code :
/^valeur=/ && do {
$val=$_;
$val=~s/valeur=//;
};
open(IN,"actualite.txt");
open(OUT,">>tamp.tmp");
$i=1;
while ( $line = <IN> )
{
if ( $i != $valeur )
{
print OUT $line;
};
$i++;
}
close IN;
close OUT;
- to copy a file (with perl) St�phane JEAN BAPTISTE
- Re: to copy a file (with perl) Me
- Re: to copy a file (with perl) Brett W. McCoy
- Re: to copy a file (with perl) Paul
- Re: to copy a file (with perl) Aaron Craig
- Re: to copy a file (with perl) Jeff 'japhy' Pinyan
- Re: to copy a file (with perl) Paul
- RE: to copy a file (with perl) St�phane JEAN BAPTISTE
- RE: to copy a file (with perl) Paul Jasa
