Tutorials for photoshop, javascript, php, html, css, flash, and more!

tutorials for photoshop, javascript, and php
   The Machine | Search for a cog | Submit a cog

Perl Tutorials: Input & Output In Binary Mode

If you want to open a file and read its content in binary mode, you should use the following functions:

- open() to open the file to a file handle.
- binmode() to set the file handle to binary mode.
- read() to read data from the file handle.
- close() to close the file handle

Click here for this Tutorial!