in reply to Re^2: split a file to several smaller file
in thread split a file to several smaller file
and what is $fh_out? $fh_in is the text file it is reading right?
Yes, except that these are "file handles" rather than the actual file in any sense, (hence the naming convention "fh").
Does that make sense? If you do a close $fh_out; the file doesn't go away, just perl's ability to write to the file via that particular handle.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: split a file to several smaller file
by sardines (Novice) on Dec 31, 2007 at 02:17 UTC |