Your question is bereft of meaning. ASCII is a code for encoding characters. A "binary" file is a stream of bytes which may or may not contain ASCII encoded characters, although by convention is not a text file (which contains text generally as ASCII encoded characters). Do you perhaps mean that you have transformed a binary file into an ASCII representation of the hex values of the bytes and that you now wish to transform that ASCII representation back into binary?
It may help if you show us a sample of the ASCII encoded input you wish to convert back to "binary".
Perl reduces RSI - it saves typing
|