发新话题
打印

【求助】%ENV?搞不明白啊!

【求助】%ENV?搞不明白啊!

%ENV=();反回环境变量.
$ENV{CC}=$ADV;这句不明白啊,

EXEC"$ab",调用ab所指的程序,$new*8也不明白!
请教....      

TOP

不明白的太多了, 先看书吧      
'
◆ 发帖时请【突出主题】, 以便您的问题能够及时得到回复
◆ 发帖时请将您的【代码】或者【脚本】写在 [code] 和 [/code] 中间

TOP

perl的语法一向古怪,约定的东西太多了

比如昨晚看Advanced Perl Programming,第一章讲引用,举了这个例子
$s = \('a', 'b', 'c');
猜一下$s指向什么?

As it happens, this is identical to

$s = (\'a', \'b', \'c');    # List of references to scalarsBeginners often make the mistake of confusing array variables and enumerated (comma-separated) lists.      

TOP

发新话题