Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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

by soonix (Vicar)
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 scrutinizing the Monastery: (5)
As of 2015-07-30 02:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (269 votes), past polls