On some systems (in general, DOS and Windows-based systems) binmode() is necessary when you're not working with a text file. For the sake of portability it is a good idea to always use it when appropriate, and to never use it when it isn't appropriate. Also, people can set their I/O to be by default UTF-8 encoded Unicode, not bytes.images, executables, zipfiles, tarballs, encrypted ...In other words: regardless of platform, use binmode() on binary data, like for example images.
In reply to Re^4: Help with RC4
by PodMaster
in thread Help with RC4
by jmamer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |