Browse > Home / Archive: 12月 2007

| Subcribe via RSS

Perl — Getopt::Std

12月 28th, 2007 | No Comments | Posted in Perl | by admin | 125 views |

Getopt::Std模块的使用:
初始设置:  
在程序中加入如下代码:

3
4
5
          use Getopt::Std;
               use vars qw($opt_d $opt_f $opt_p);
      ...

Perl — use vars

12月 28th, 2007 | No Comments | Posted in Perl | by admin | 105 views |

vars 是一个Perl的pragma,用来预定义全局变量。这些预定义后的全局变量qw()列表中的在整个Perl文件中皆可使用,使用了use strict也不会报警:
use strict;
$string = "Hello,Perl";
print $string...

Perl — Pragma in Perl

12月 28th, 2007 | No Comments | Posted in Perl | by admin | 117 views |

Pragma in Perl

In a,hopefully futile, effort to confuse programmers, the use directive, was given a second job to do. It turns other compiler directives on and off. For example, you might want to force Perl to use integer math instead of floati...

HTTP Header about on LoadBalance and Reverse Proxy environment

12月 25th, 2007 | No Comments | Posted in Apache | by admin | 110 views |

http://atman.memoab.com/articles/92

...

IE的域名不支持_

12月 24th, 2007 | No Comments | Posted in PHP | by admin | 129 views |

I use name-based virtual hosting on Linux with Apache and PHP 4.3.2.
Every time when I refreshed (by pressing F5 in Internet Explorer) I noticed that I got a new session_id. Simultaneously browsing the same site with Netscape didn't give me that...

Perl注意事项

12月 24th, 2007 | No Comments | Posted in Perl | by admin | 113 views |

1、Perl参数:$ARGV
$ARGV[0]....$ARGV[n]
$ARG[0]是第一个参数,不是脚本文件名,和C不一样。参数个数:$ARGV+1
2.while....continue
continue作为while或者foreach的一个尾巴,常常附在这些的末...

sendmail tips

12月 24th, 2007 | No Comments | Posted in Sendmail | by admin | 166 views |

您遇過這樣的狀況嗎:

無法寄信
在.bsdlab.idv.tw網域中使用Win95/98之Outlook Express透過mail.lab.mlc.edu.tw主機寄信給kemin.lin@msa.hinet.net時,發生錯誤:

無法傳送郵件,因為有一位收件...

htmldoc能够将html转换成PDF文件

12月 21st, 2007 | No Comments | Posted in DocBook | by admin | 114 views |

htmldoc能够将html转换成PDF文件
htmldoc 包括2个版本,开源版本和商业版本。 ubuntu上是可直接使用 sudo apt-get install htmldoc 安装的。 Windows上的用户如果不想出点血,就得自己去编译了吧...

HTML/XHTML

12月 21st, 2007 | No Comments | Posted in HTML | by admin | 121 views |

http://www.dreamdu.com/xhtml/
什么是XHTML?

XHTML是EXtensible HyperText Markup Language的英文缩写,即可扩展的超文本标记语言.
XHTML语言是一种标记语言,它不需要编译,可以直接由浏览器执行(属...

Subversion 安装

12月 14th, 2007 | No Comments | Posted in Subversion | by admin | 133 views |

安装subversion-1.4.3
#cd /root/soft
#tar jxvf subversion-1.4.3.tar.bz2
#tar jxvf subversion-deps-1.4.3.tar.bz2
#cd /root/soft/subversion-1.4.3
#./configure --prefix=/opt/subversion --with-apxs=/opt/httpd-2.0.61/bin/apxs...


Page 1 of 212»