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 (Prior)
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?
[choroba]: create a ticket if the number of tickets reaches a limit
[choroba]: how deep meta could it go?
[marto]: this sounds like a sub section for Sane Dots
[Corion]: marto: You mean "Sane Dots Dramatic Reading of ITIL" ? ;)

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2017-01-24 10:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (203 votes). Check out past polls.