in reply to Re^2: splitting files by number of wordsin thread splitting files by number of words
$total_words += split while(<DATA>); [download]