标量引用 meaning in English
scalar reference
Examples
- Because the most common case for using a blessed scalar reference is to perform glue magic , pixie by default will consider these objects unstorable
因为使用经过bless的标量引用最常见的情形就是执行粘接魔术( glue magic ) ,所以pixie在缺省情况下会认为这些对象是不可存储的。 - For instance , when perl interfaces with a c library , a common trick is to store a pointer to the c structure in a scalar reference , which perl can use as its object , and the xs glue code can use to get the real c structure back
例如,当perl与c库连接时,常用的窍门是将指向c结构的指针存储在标量引用中, perl可将该标量引用当作它的对象来使用,而xs粘接代码( glue code )可用该标量引用取回真正的c结构。