Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
my $mime = "image/gif";
print "Content-type: $mime\n\n";
open(thefile,"images/logo.gif");
binmode(thefile);
while(<thefile>) {
print $_;
}
close(thefile);
Any suggestions?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: open and print image
by ikegami (Patriarch) on May 30, 2009 at 04:35 UTC | |
|
Re: open and print image
by Anonymous Monk on May 30, 2009 at 10:43 UTC | |
by Anonymous Monk on May 30, 2009 at 14:31 UTC |