sub read_binary { local($fname) = @_; open(FILE, "<$fname") || return ''; binmode FILE; while(<FILE>){ $spcontent .= $_; } close(FILE); $spcontent; }
In reply to Re: How to offer binary files for download via CGI ?
by JamesNC
in thread How to offer binary files for download via CGI ?
by vivapl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |