# hello

# i don't know what comes first
# , source or question

# thus

#!/usr/local/bin/perl

use CGI;
use strict;
use warnings;

my $q=CGI->new();

print $q->header;
print $q->start_html;

# things

print "<img src=\"http://127.0.0.1/cgi-bin/image.cgi\";>"; # this works

# first question : what is the cgi-oop-way of dealing with images; $q->img ??
# i can't find dox on that


# second question : how can i insert more than one image
# i tried the following:

# foreach( 1..6 ){
#    print "<img src=\"http://127.0.0.1/cgi-bin/five.cgi\";>";
# }

# but this returns 6 times the same image

# more things

print $q->end_html;

# thank you



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to