Sunthari wrote: > However, how do I activate the URL so that user can > click on the link and surf. I have tried the following > but it doesn't work . > > $urlresult=$results ->url; > print $q->a({href=>$urlresult},); > OR > print $q->a({href=>$results->url,"\n"}); > > Your help is much needed. Thanks in advance.
Try: print $q->a({-href=>$url},$url); where $url contains text like "http://dev.perl.org/", it will print: <a href="http://dev.perl.org/">http://dev.perl.org/</a> See also perldoc CGI: http://www.perldoc.com/perl5.6.1/lib/CGI.html#CREATING-STANDARD-HTML-ELEMENTS- - RaFaL Pocztarski, [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]