Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Writing at specific position and length in binary file.

by no_slogan (Deacon)
on Jan 11, 2014 at 02:38 UTC ( [id://1070221]=note: print w/replies, xml ) Need Help??


in reply to Writing at specific position and length in binary file.

Just use print FH $example.
  • Comment on Re: Writing at specific position and length in binary file.

Replies are listed 'Best First'.
Re^2: Writing at specific position and length in binary file.
by thanos1983 (Parson) on Jan 12, 2014 at 04:44 UTC

    To: no_slogan, I guess this is the simplest and best solution to my problem. I had to do a small modification to my code by writing initially to that point a string with "\0" positions. The reason is that the name can vary and in case of rewriting on top of the previous they might print together with remaining characters. So had to came up with this "small" trick. Thank you again for your time and effort.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-04-18 04:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found