[comp.lang.perl] Printf bug

duane@hpdmd48.boi.hp.com (duane schwartzwald) (12/21/90)

I found an apparent bug in perl the other day, while writing a printer
  driver.  

It seems that when printf (or print) is used to print
  binary data and that data happens to be a NULL ('\0'), the NULL byte
  is ignored.

This is exactly the same bug I found in nawk (new awk).  I deleted
  nawk because of this, and installed perl.

I looked for some work around but ended up writing the driver in c.  I
  like perl for this type of thing, but NEED to be able to write
  binary data.

Does anybody have any ideas?  Or a fix?