码迷,mamicode.com
首页 >  
搜索关键字:perl morbo mojolicious    ( 3677个结果
[Shell] Shell 中的算术
Shell 脚本变量默认是作为字符串处理,而不是数字,这使得在 Shell 脚本做数学运算显得较为复杂。在保持脚本编程规范和更好的算术支持方便,Perl 和 Python 会是更好的选择。但是你仍然可以选择在 Shell 中进行算术。事实上,过去许多年来,Unix 已经增加多种特性来支持数字处理.....
分类:其他好文   时间:2014-08-18 12:20:24    阅读次数:269
perl C/C++ 扩展(五)
perl 的C++扩展,返回值为自定义类型。在 perl C/C++扩展(三) 中,我已经介绍了,如何让perl 认识 c++的类,但是前面的介绍中,包括我参考的博客http://chunyemen.org/archives/493,都提到,返回值必须是基础类型。对于开发者而言,如果返回值只能是基础...
分类:编程语言   时间:2014-08-17 22:33:32    阅读次数:374
Perl语言学习笔记 11 Perl模块
1、模块来源:随Perl发行版本一起打包、从CPAN下载 2、阅读模块文档:perldoc CGI 3、安装模块 makemaker方式: 指定安装目录: Module::build方式: cpan方式: 4、File::basename模块 5、仅选用模块的部分函数 导入引用列表即可 10、不引入任何函数 通过全名的方式使用: 11、...
分类:其他好文   时间:2014-08-17 15:40:33    阅读次数:209
Perl语言学习笔记 10 其他控制结构
1、unless控制结构 条件为假时执行,与if相反 可以附带else 2、Until控制结构 条件为假时执行,一直执行到条件为真; 3、条件修饰词 效果等同于: 类似的模式: 4、裸块控制结构 { body; body; .... } 有利于为临时变量圈定有效范围 5、elsif子句 6、自增、自减 同c语言 7、for  用法同c语言...
分类:其他好文   时间:2014-08-17 10:27:32    阅读次数:204
看到个有趣的方法批量下载rtf模板
一般想要批量下载rtf模板我们都是用fndload来实现或者 perl download.pl来实现,今天看到一个比较有趣的方法 Hi, Blob column 'template file data' below is just what you want, open it in PLSQL-DEVELOPER and save it as a rtf file or...
分类:其他好文   时间:2014-08-16 23:53:31    阅读次数:540
OpenNMS编译,打包并在Windows下启动
1.Download Opennms latest source code 2.Download latest Java JDK and install it. Set JAVA_HOME path 3.Download Postgres and install it. Set the path in environment variable 4.Download Perl an...
分类:Windows程序   时间:2014-08-16 17:11:50    阅读次数:451
安装innotop
下载软件:http://sourceforge.net/projects/innotop/files/innotop/安装perl-TermReadKey模块,yum -y install perl-TermReadKey,要不然perl的编译的时候会报错tar zxvf innotop-1.9.1...
分类:其他好文   时间:2014-08-16 07:29:30    阅读次数:183
Perl语言学习笔记 9 正则表达式处理文本
1、替换 s/PATTERN/REPLACE/; #返回是否替换成功的布尔值 可以使用捕获变量,如:s/(\w)/$1/ 匹配失败则不做任何处理 2、定界符 对于没有左右之分的定界符,重复三次即可,如:s///、s### 对于有左右之分的定界符,需使用两对,一对包含模式,一对包含替换字符串,这两对可以不一样,如:s{}{}、s[]{}、s 3、可选修饰符 /g可进行全局替换,...
分类:其他好文   时间:2014-08-15 23:51:49    阅读次数:438
PERL Net::SMTP
#!/usr/bin/perl -w use strict; use Net::SMTP; my $to = ‘toMail‘; my $from = ‘fromMail‘; my $site = ‘mail.126.com‘; my $smtp_host = ‘smtp.126.com‘; my $pop_host = ‘pop3.126.com‘; my $username =...
分类:Web程序   时间:2014-08-15 13:04:18    阅读次数:236
Perl数据库DBI接口简介【转载】
本文转载自:http://blog.csdn.net/like_zhz/article/details/5441946##########################################################################可移植的DBI方法:connect...
分类:数据库   时间:2014-08-15 12:40:28    阅读次数:225
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!