Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl use CGI qw/:all/; print "Content-type: text/html\n\n"; my $length = 50; binmode STDOUT; print <<HTML; <table> <tr> <td><img src='/cgi-bin/pixel.gif' height='20' width='$length' +alt='test'/></td> </tr> </table> HTML
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Display an image with a CGI program?
by NetWallah (Canon) on May 25, 2009 at 22:28 UTC | |
|
Re: Display an image with a CGI program?
by jettero (Monsignor) on May 25, 2009 at 22:27 UTC | |
|
Re: Display an image with a CGI program?
by ikegami (Patriarch) on May 26, 2009 at 03:04 UTC | |
by Anonymous Monk on May 27, 2009 at 07:03 UTC | |
by Anonymous Monk on Mar 14, 2011 at 09:24 UTC | |
by marto (Cardinal) on Mar 14, 2011 at 10:39 UTC | |
by Corion (Patriarch) on Mar 14, 2011 at 09:26 UTC | |
by Anonymous Monk on Mar 14, 2011 at 11:13 UTC | |
|