- or download this
# This line loads the CGI.pm module.
use CGI;
...
print $im_better->a({href=>"http://www.google.com"}, 'Google');
$im_better->end_html();
- or download this
print "Content-type: text/html\n\n"; # The content header
..... # Put stuff you need here
print '<a href="http://www.google.com>Google</a>';
- or download this
use CGI;
my $im_better = new CGI;
# Please note that I didn't print a header this time
print $im_better->redirect("http://www.google.com");
- or download this
# I also didn't print a header this time either
print "location:http://www.google.com\n\n";