in reply to How to convert binary to hexadecimal
You don't even need perl for this one (at least on a Unix / Cygwin box):
od -t x1 input_file
...roboticus