See Re^3: Filtering passwords from the output of a script.
By the way, binmode might be required. I remember having problems when attempting to read characters (as opposed to bytes) using sysread, but the details escape me.
In reply to Re^2: Filtering passwords from the output of a script
by ikegami
in thread Filtering passwords from the output of a script
by quester
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |