I think there's a misunderstanding here. When you write the number 0xFF or 255 (which is really the same), you probably want the byte with the number 255 to be written. If that's the case, you need chr or pack (see perlpacktut), not a string representation.
In reply to Re^2: I need Hex conversion, not!
by moritz
in thread I need Hex conversion, not!
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |