Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: how to convert numbers to ASCII characters

by redss (Monk)
on Jan 24, 2008 at 14:37 UTC ( [id://664037] : note . print w/replies, xml ) Need Help??


in reply to Re: how to convert numbers to ASCII characters
in thread how to convert numbers to ASCII characters

ok that is fine if ASCII only covers 0-127. The file I write to can be a binary file rather than ascii, so will the same functions work in that case?
  • Comment on Re^2: how to convert numbers to ASCII characters

Replies are listed 'Best First'.
Re^3: how to convert numbers to ASCII characters
by lidden (Curate) on Jan 24, 2008 at 14:43 UTC
    Yes, they will work. Perl uses Latin1 in the range 0..255.
      that worked great, THANKS!