while(
{
/(.+)=(.+)/;
$$1 = $2;
}
或用hash table,这是比较正统的方法
回复:请教Perl高手
所有跟帖:
•
再请教加州劳模:实验的时候还好好的
-cutecat123-
♀
(115 bytes)
()
09/24/2006 postreply
11:42:57
•
具体问题具体分析
-加州劳模-
♂
(253 bytes)
()
09/24/2006 postreply
12:11:56
•
看来这种方法又行不通了
-cutecat123-
♀
(177 bytes)
()
09/24/2006 postreply
12:31:23