Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

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

by soonix (Deacon)
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 rifling through the Monastery: (7)
As of 2014-08-22 00:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (144 votes), past polls