Please bottom post...thanks!!! This is the answer I was looking for.
I am sorry, that was a little hastely written out of frustration.images
I am trying to use CGI.pm to display a row of images. Each of those
are a link. I can make a text link, but have not figured the rightsyntax for
making an image link.
Hope that was better, Rod.
Yep, better.
use CGI ':standard';
print a( { -href => 'test.htm' }, img( { -src => 'test.png', -width => '56', -height => '78' } ) );
The key is to pass the 'img' function return as the content parameter of the link, aka after the hash reference at the beginning of the function call which provides the 'a' tag's attributes.
perldoc CGI
http://danconia.org
Rod.
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>