Use of modules? Go ahead! Change it however you like. As I said: I wrote it ages ago. OTOH: Why use a module if a few lines can do?
regarding binmode: Are you sure I need it anywhere else but on Windows, if I don't have to apply any special layer like utf8? I don't use windows. But as I said before: Go ahead: Change it however you like.
s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{%
+.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e
|