PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Loren Delamarter <ldelamar at north-pacific dot com>
Subject: Re: BLOBs
Date: Sep 25 1997 12:30AM

> But you can't really mix this with text, can you? (ie have an
>  tag where the source is this script instead of being a file)

As Ron Watkins stated, the key is to get the mime type 
right at the beginning:

Content-type: image/gif

> binmode() is only for Win32 systems where there automatic conversion 
> from CR/LF to LF... It's a no-op under Unix.
>
> Michael

You're right. The "Functions" chapter of the Perl book states:
"binmode() has no effect under UNIX." i.e. only useful for 
DOS/Win type OS's.

I guess that's my DOS BigPerl 4.036 roots sticking out. 
Happily using Solaris now!

- Loren