原创 CGI::Session什麼時候需要手動調用flush()方法呢?

在一個cgi裏面,發現總是沒有真正把session文件寫入目錄,手動調用flush()方法之後就好了。但是在CGI::Session的文檔裏面明明說Normally it will be called for you just befor

原创 MySQL忘記root密碼

To reset a root password that you forgot (using paths on our system): [root@host root]#killall mysqld[root@host root]#/

原创 cgi or mod_perl

摘自perlmonks.org( http://www.perlmonks.org/?node_id=518869)的一段討論:Re: cgi or mod_perlby astaines on Dec 24, 2005 at 10:12

原创 JavaScript之IE與FireFox不兼容語法整理

1. 形如<option>text</option>的選項,FireFox中,可以用options[i].value來取值,默認等同於options[

原创 Perl閉包以及對mod_perl的影響

先看看這裏:http://www.perl.com/doc/FAQs/FAQ/oldfaq-html/Q3.14.html 裏面開始引用了Larry關於閉包的說法,翻譯成中文大意是“這是一個來自於Lisp世界的名詞,意指當你在某個特定的詞

原创 HTML::FillInForm.pm處理utf8報錯的問題

HTML::FillInForm老是報這個錯誤: Parsing of undecoded UTF-8 will give garbage when decoding entities at /site/lib/HTML/FillInFo

原创 IE中JavaScript錯誤列表

error # 5 無效的過程調用或參數 error # 6 溢出 error # 7 內存不夠 error # 9 下標越界 error # 10

原创 DBD::mysql的安裝

其實已經裝過很多次了,不過以前從來沒有遇到今天這樣的問題。雖然其實所有的環境配置都是一樣的:RHEL4, Perl 5.8.5, MySQL4.1.8。 以前也遇到過報錯信息爲找不到mysql_config,當時只是把/path/to/m

原创 Niklaus Wirth

http://www.sinoprise.com/read.php?tid=1056&page=e 景仰一下。 Q: 您覺得怎樣纔是一種好的學編程的方式呢?一種編程工具是不是必要的? A: 我們因爲要編程而學習語言,而不要本末倒置。本質是

原创 Perl GD.pm模塊的安裝

http://www.issociate.de/board/post/153088/problem_installing_GD-2.19.html vertigo wrote:> Hello> > I can not install G

原创 Can't load ...Magick.so錯誤解決

Can't load '/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/Image/Magick/Magick.so' for module Image::Magic

原创 Developer's Dilemma: PHP or Perl?

 Citing http://www.sci-tech-today.com/story.xhtml?story_id=32961: In some ways, it is the scrappy contender versus the

原创 Cool URIs don't change

A cool article by Tim Berners-Lee http://www.w3.org/Provider/Style/URI 

原创 Linux下的主要文件

boot/grub/grub.conf GRUB 引導器配置文件/boot/module-info-* Linux 核心模塊信息/boot/System.map-* Linux 系統影像文件/boot/vmlinuz-* Linux 核心

原创 常掛在美國人嘴邊的口語

From http://sl.iciba.com/html/2006/1010/10/150562_1.htm A thousand times no! 絕對辦不到! Don't mention it. 沒關係,別客氣。 Who know