1
6
首先
最好写为
这是的缩写
在进行方法调用时,invocant(函数的剩余部分
自从
|
2
2
你有这样的理由吗:
而不是这个?
如果没有,那么我假设你削减&从其他代码粘贴到某处。你可能想要的是后者。
而不是
既然你可能不需要这样做,那就坚持下去吧
|
3
0
周围的花括号创建散列 参考 或者hashref,它是单个标量。参数值将为
代码
这样写被认为是更好的风格
因为这将返回可用于调用其他方法的受祝福对象, 例如 ,
|
4
0
你通过一个
hash引用
使解析所有这些成为可能。 但是,通常需要处理参数。首先,你 必须
其中代码通过引用写入“back”,以便
这应该与正常的方法调用一起使用
和
不
perlmod (一个类就是一个包),教程 perlootut ,和参考 perlobj
|
tjwrona1992 · 从Perl中的子例程返回别名 9 年前 |
Hydraxia · 在Java中调用void子例程的变量 9 年前 |
Jpyo · 有人能向我解释一下代码的某个部分发生了什么吗?(MIPS/组件) 10 年前 |
user2050516 · Perl调用以“&”开头的子程序[重复] 10 年前 |