Is there any programs that can convert perl codes to binary mode?
Probably yes, granted that you specify (i) what is "perl codes" and
(ii) what to "convert to binary mode" may possibly mean. The closest
thing I can think of that could make sense out of your question is
perldoc -f binmode
But then you may also be interested in the ':raw' open() layer.
Or perhaps you want a binary executable out of a Perl source? Then see
PAR. In any case you're forcing use to use our esp fu and give answer
to two different questions, none of which may the one you actually
have in your mind, only because you didn't mind taking care of
specifying the latter clearly enough!
Irrelevant except possibly for the fact that binmode() shouldn't be
needed there. But using it shouldn't do harm.
Than YOU in advance for asking your question more clearly next time,
which you will do, won't you?
Michele