http://qs1969.pair.com?node_id=336056


in reply to File Download from Web

lets say your script is generating a gif
#!/usr/bin/perl # script.pl use strict; use warnings; my $gif = pack("H*", '47494638396101000100B30000888888' . 'FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF' . 'FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF' . 'FFFFFFFFFFFFFFFFFFFFFFFFFF2C0000' . '0000010001000004021044003B' ); print "Content-Type: image/gif\n\n"; binmode STDOUT; print $gif;
then just add to your web page as pointed out above
<a href="script.pl">A Gif</a>