in reply to Hyperlinks within .cgi scripts
I tend to prefer the function-oriented interface of CGI.pm, even with the extra overhead, but YMMV.
use CGI qw/:standard/;
Note that it's fairly easy to both concatenate with commas, and to nest, so that it looks very close to actual html. :-)
print p({-class=>"highlight"}, "If you need to return to the selection page, you can ", a({-href=>"/index.htm", -class=>"backlink"}, "click here"), "to go back." );
|
|---|