in reply to Chopping a file into pieces

Another code example can be found with the split implementation in the Perl Power Tools project.

Matt