Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl open(PIC, "c.gif"); $size = -s PIC; print "Content-length: $size\n"; print "Content-type: image/gif\n\n"; while(<PIC>) { print; } close(PIC);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Using a perl script as a graphic?
by DrManhattan (Chaplain) on Apr 26, 2000 at 00:38 UTC | |
|
Re: Using a perl script as a graphic?
by merlyn (Sage) on Apr 26, 2000 at 00:47 UTC | |
|
Re: Using a perl script as a graphic?
by btrott (Parson) on Apr 26, 2000 at 00:01 UTC | |
|
RE: Using a perl script as a graphic?
by SuperCruncher (Pilgrim) on Apr 26, 2000 at 00:45 UTC | |
|
RE: Using a perl script as a graphic?
by The Alien (Sexton) on Apr 26, 2000 at 02:03 UTC | |
|
Re: Using a perl script as a graphic?
by Anonymous Monk on Apr 26, 2000 at 02:48 UTC | |
|
RE: Using a perl script as a graphic?
by Anonymous Monk on Apr 26, 2000 at 05:23 UTC | |
|
Re: Using a perl script as a graphic?
by turnstep (Parson) on Apr 26, 2000 at 22:06 UTC |