Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: how to give size to a file at the time of creation

by soonix (Parson)
on May 03, 2013 at 09:31 UTC ( #1031847=note: print w/ replies, xml ) Need Help??


in reply to how to give size to a file at the time of creation

From the subject line and your first question, I would think you are trying to reserve space for your file, which would be an OS dependant function, and not supported on the systems I am used to use, though I have a distant memory of VSAM where you have to do so.

However, your second question makes me think - do you want a maximum size for your file, or automatically splitting at a given size - perhaps IO::File::Cycle does what you need?

  • Comment on Re: how to give size to a file at the time of creation

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1031847]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (8)
As of 2016-06-28 09:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (354 votes). Check out past polls.