in reply to Re^2: split a file to several smaller file
in thread split a file to several smaller file

$base is the base name of all of the files, such as the log part of log001.txt, log002.txt, and log003.txt. $ext is the file extension, or txt in the example here.

Replies are listed 'Best First'.
Re^4: split a file to several smaller file
by sardines (Novice) on Dec 24, 2007 at 07:42 UTC
    thanks.. and what is $fh_out? $fh_in is the text file it is reading right? Now there is no errors but I am not spawning any files.. there is no output..