in reply to Re^2: Coping a part of text file
in thread Coping a part of text file
Ok, here is my commentary
sub To_header { my( $outfile, $startix, $endix , $words ) = @_; use autodie; open my($outfh), '>', $outfile ; ## or die by autodie for my $ix ( $startix .. $endix ){ print $outfh $words->[ $ix ]; } close $outfh; } To_header( 'hr.txt', 0, $temp[0], \@words );
If you want something more specific you'll have to provide more details as How do I post a question effectively? and davido explain
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Coping a part of text file
by Anonymous Monk on Jul 04, 2013 at 08:17 UTC | |
by Anonymous Monk on Jul 04, 2013 at 08:25 UTC |