sub To_header { my $ff; my $iz; open($ff,">hr.txt"); for ($iz=0;$iz<=$temp[0];$iz++) { print $ff "$words[$iz]" ; } }
here words is an array of words of file and temp[0] has the address till where I wish to print and I am printing it in hr.txt
In reply to Re^2: Coping a part of text file
by Anonymous Monk
in thread Coping a part of text file
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |