Re: Printing ASCII to Hex

2003-11-18 Thread Jeff Westman
James Edward Gray II <[EMAIL PROTECTED]> wrote: > On Nov 18, 2003, at 10:33 AM, Jeff Westman wrote: > > > There must be an easier way to convert a basic ascii string to hex. I > > tried > > using ord/chr/unpack/sprintf(%x) combinations and just dug my hole > > deeper. > > I'm not interested in

Re: Printing ASCII to Hex

2003-11-18 Thread John W. Krahn
Jeff Westman wrote: > > Hi, Hello, > There must be an easier way to convert a basic ascii string to hex. I tried > using ord/chr/unpack/sprintf(%x) combinations and just dug my hole deeper. > I'm not interested in using any additional modules, just straight, "basic" > perl. This works, but exac

Re: Printing ASCII to Hex

2003-11-18 Thread James Edward Gray II
On Nov 18, 2003, at 10:33 AM, Jeff Westman wrote: There must be an easier way to convert a basic ascii string to hex. I tried using ord/chr/unpack/sprintf(%x) combinations and just dug my hole deeper. I'm not interested in using any additional modules, just straight, "basic" perl. This works,