Have you tried looking on CPAN for something like, say, "split"?
In reply to Re: How to split big files with Perl ? by herveus in thread How to split big files with Perl ? by zalezny