in reply to Write a File in Binary?

editi,
Since you didn't bother to tell us what didn't work, I can't tell you what's wrong. I can point you to binmode and print as well as suggest you provide more information.

Update: Ok, so after posting I realized I was not being very nice nor was I being as helpful as I could be. I was trying to stress how useless "it didn't work" is when asking a question. While I did point to the docs that ultimately would have lead to the answer, Adrade was much kinder and informative.

Cheers - L~R