Good morning/afternoon all (depending on where you are), This should be a quick one:
When creating files in a perl script is there a way to limit the size of the file created? If somebody could give me a term to search for that should be enough. I have googled this but I can't find an answer. I'm probably not using the right search terms because this seems very do-able and I'm surprised to have not found anything. My situation is as follows: I perform some text manipulation on files that are 30 MB in size. The newly formatted files get pushed to another script that can only handle files of 5MB maximum. So I would like to be able to limit the file size and start a new one when it reaches (or comes close to) this limit. This would allow me to automate it rather than having to manually break the big files up before continuing. Thanks! James.