Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^6: about link()

by exilepanda (Pilgrim)
on Feb 19, 2012 at 04:22 UTC ( #954834=note: print w/replies, xml ) Need Help??


in reply to Re^5: about link()
in thread about link()

Thank you very much! This explains everything. So I tried with this code :
open O, ">a.bin"; binmode O; print O "Hello World!"; close O; link "a.bin", "b.bin"; open L, ">b.bin"; binmode L; print L "Bye World!"; close L; open O, "a.bin"; print while ( <O> ); close O; # prints "Bye World!"
This proved an in-place edit works in binary files as expected. It's glad to know that it's my fault!! Otherwise I don't know how to fix it. Good day! =)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2016-10-01 14:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (577 votes). Check out past polls.