Hi Andrew, On Tue, 30 Aug 2011 14:51:33 -0400 <andrewmchor...@cox.net> wrote:
> Hello > > It has been a while since I have done some serious Perl programming. I am > looking for a basic script that will take a very large file and split it up > into a manageeable files that can be emailed and then a script that will > merge the files back. Has anyone created such a script. I have a large map > file that I need to send out but cannot use a thumb drive in my work > envirornment now. I could take the time to write the 2 scripts but I do not > have the time at the moment. This is not for a commercial job or for a school > assignment. > well, first of all, I should note that this mailing list is intended for Perl programmers to teach Perl to people who want to learn Perl (or learn Perl better). It is not a "please find or write a script for me" mailing list, and most people won't write a script for you for free. That put aside, I recalled that the UNIX split ( see http://en.wikipedia.org/wiki/Split_%28Unix%29 ) and its cat command ( see http://en.wikipedia.org/wiki/Cat_%28Unix%29 ) can do what you want, and you can find Perl implementations of them and many other UNIX commands here: * http://sourceforge.net/projects/ppt/ * http://ppt.cvs.sourceforge.net/viewvc/ppt/ Hope it helps, and if you're grateful, then I would appreciate a donation, either to me ( http://www.shlomifish.org/meta/how-to-help/ ) or to the Perl Foundation ( https://secure.donor.com/pf012/give ). Regards, Shlomi Fish -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ Optimising Code for Speed - http://shlom.in/optimise No one calls Xena the warrior princess “Zeena” to her face and survives. Luckily for you, she hasn’t visited the modern day United States yet. Please reply to list if it's a mailing list post - http://shlom.in/reply . -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/