Thanx:)my $line="Whatever line you want to insert"; open FH, '>mytextfile.txt' or die $!; print FH $line; close FH;
In reply to Re: need help:insert a line in a textfile
by perl_seeker
in thread need help:insert a line in a textfile
by star7
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |