Everything is at http://log4think.com now.

刘金雨的Blog

mirror of http://log4think.com

2006年4月1日 #

Perl中不寻常的 ?: 运算符

摘要: 前几天写一个perl的脚本 在:?运算符上遇到了一个很诡异的问题$data->{$id}->{'total'}?$data->{$id}->{'ratio'}=sprintf("%.2f%%",100*$data->{$id}->{'succ'}/$data->{$id}->{'total'}):$data->{$id}->{'ratio... 阅读全文

posted @ 2006-04-01 15:37 古月春秋(刘云涛) 阅读(438) 评论(0) 推荐(0) 编辑

导航