Perl Web 服务器初级编程[5]

[入库:2005年8月18日] [更新:2007年3月25日]

本文简介:选择自 nistal 的 blog

                            #! /usr/bin/perl 
                            #headertag.cgi
                            use warnings;
                            use strict;
                            #import invented 'link' and 'myheadertag' elements
                            use cgi qw(:standard link myheadertag);
                           
                            print header;
                            print start_html(
                                    -title=>'big document header',
                                    -author=>'cloudfordnick@yahoo.com.cn',
                                    -xbase=>'http://www.myserver.com',       #文档的基本url
                                    -target=>'my_panel',         #文档目标桢
                                    -meta=>{                         #指向元标记的名字/值对的一个哈希引用
                                                   description=>'how to define a cgi header with metatags',
                                                    keywords=>'meta,metadata,cgi,tags,html,perl',
                                                 },
                                     -style=>{
                                                 src=>'/css/mystylesheet.css'

本文关键:Perl Web 服务器初级编程
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top