Joel wrote: > Thanks, that works perfectly. Now I just have to figure out how to turn it > back into a valid file. I tried using "pack 'b*'" but I had no luck. Any > suggestions? > > Joel
Depends on how the bytes are stored at the point where you are ready to print them. Presuming numerically by the byte, try something like print OUT pack("C", $_) for @bytes; # parens optional Joseph Note: Please do not top post, and please trim any text to which you are not responding. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>