Perl常用模块使用例子(转载)5

(31) Text::CSV_XS, parse(), fields(), error_input()

如果field里面也包含分隔符(比如”tom,jack,jeff”,”rose mike”,O’neil,”kurt,korn”),那么我们
解析起来确实有点麻烦, perlcn.net/perl-examples-5#more-178" class="more-link">Continue Reading

Perl常用模块使用例子(转载)4

(21) Term::ANSIColor 例子

#!/usr/bin/perl
use strict;
use Term::ANSIColor qw(:constants);

$Term::ANSIColor::AUTORESET = 1; perlcn.net/perl-examples-4#more-175" class="more-link">Continue Reading

Perl常用模块使用例子(转载)3

(11)ExtUtils::Installed, new(), modules(), version()

#查看已经安装的模块的相应信息。

#!/usr/bin/perl
use strict;
use ExtUtils::Installed; perlcn.net/perl-examples-3#more-173" class="more-link">Continue Reading

Perl常用模块使用例子(转载)2

(1)Net::FTP

#!/usr/bin/perl -w
# file: ftp_recent.pl
# Figure 6.1: Downloading a single file with Net::FTP
use Net::FTP; perlcn.net/perl-examples-2#more-171" class="more-link">Continue Reading

Perl常用模块使用例子(转载)1

Linuxsir原文链接:http://www.linuxsir.org/bbs/thread77473.html

Chinaunix原文链接:Perl模块使用 => 简短例子代码集合!

一些常用模块的简单描述 perldoc.perl.org/perlmodlib.html" target="_blank">http://perldoc.perl.org/perlmodlib.htmlperldoc.perl.org/perlmodlib.html" target="_blank"> perlcn.net/perl-example-1#more-169" class="more-link">Continue Reading

Page 1 of 212»