韩半仙

  博客园  ::  :: 新随笔  ::  :: 订阅 订阅  :: 管理

2012年3月17日

摘要: Why use pod??POD is "plain old documentation".It's a simple language for uniform documentation.It's very easy to use.POD主要是用于模块Example.pm__END__=head1NAMETemplate-Descriptiongoeshere=head1SYNOPSISuseTemplatemy$o=Template->new;=head1METHODS=over4=itemB<new>ConstructsanewTem 阅读全文
posted @ 2012-03-17 16:50 韩英武 阅读(235) 评论(0) 推荐(0) 编辑

摘要: Modules are collections of Perl code for use with different scriptsModules can be object-oriented or proceduralModules can contain code and/or data Object-oriented vs procedural modules Most modules are object-oriented.object-oriented code has these properties.-Dynamic: the object determines what co 阅读全文
posted @ 2012-03-17 16:28 韩英武 阅读(330) 评论(0) 推荐(0) 编辑