On Mon, Sep 30, 2002 at 05:05:31PM +0200, Davide Copelli wrote: > I am using this script to print an image using <img> tag > > print "Content-type:image/gif\n\n"; > @gifdata = `cat $giffile`; > print @gifdata; > > The problem is that it works on unix but not on windows operating sistem
Install cygwin to get "cat". ;-) > Can someone give me an altenative way to print an image without extra perl > modules ? perl -pe 'BEGIN {print "Content-type: image/gif\n\n"}' giffile Abigail