Does anyone know how to return an image from MacPerl? Let me explain: I put this tag into my html page: <img src="cgi-bin/image.pl"> And I want 'image.pl' to return an image. How do I do this? I've tried these simple tests: -Test 1 ------- # Pass image path. print "images/test.jpeg"; exit(); -Test 2 ------- # Feed actual image. $filePath = $imagePath . "test.jpeg"; open( IMAGEFILE, $filePath ) || die "Failed to open \'$filePath\'"; @theImage = <IMAGEFILE>; close( IMAGEFILE ); print @theImage; exit(); --------------- I know it can be done, I've seen it many times (usually with counters.) I've been testing with Apple Web Sharing, perhaps I'm doing something right, but maybe Web Sharing doesn't support what I'm doing? Any help is greatly appreciated. -Steve ---------------------------------------------------------------------- Steve Lee Kelsch stevek@infosynth.com Digital Media Director 503/685-1720 ---------------------------------------------------------------------- Information Synthesis, Inc. Wilsonville, Oregon ---------------------------------------------------------------------- ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch