in reply to Re: How do I split a file into parts
in thread How do I split a file into parts

This code would work fine but has the disadvantage of storing an entire file of data in $_. While the file you are splitting would not be likely to have huge sections between the $seperator's you might never know if the code could be used in a situation where we are placing large amounts of data into memory.
  • Comment on Re: Answer: How do I split a file into parts