包,模块,对象,重载,绑定变量。
Packages, modules, objects, overloading, and tied variables.
绑定变量和其它名称。
模板基础-绑定变量与局部变量。
绑定变量之后,就不能改变它的值(参见清单29)。
Once you have bound the variable once, you cannot change it's value (see Listing 29).
让我们来研究三类主要的绑定变量:标量、数组和散列。
Let's look at the three main types of tied variables: scalars, arrays, and hashes.
绑定变量基本上就是将函数绑定到内部触发器上以读写该变量。
Tying a variable is basically the binding of functions to the internal triggers for reading and writing that variable.
如果没有绑定变量,那么可以通过使用SQLGetData函数来获得值。
If no variables were bound, the values can be obtained using the SQLGetData function.
不同于绑定变量,替代变量在客户端加以处理,且其值会在提交执行命令之前被替换。
Unlike bind variables, a substitution variable is processed on the client side, and its value will be substituted before submitting the command for execution.
SPARQL中的FILTER关键字对绑定变量的值进行约束,从而限制查询的结果。
The FILTER keyword in SPARQL restricts the results of a query by imposing constraints on values of bound variables.
闭包是在它自己的环境中执行计算的函数,它有一个或多个绑定变量可以在调用函数时访问。
A closure is a function that is evaluated in its own environment, which has one or more bound variables that can be accessed when the function is called.
绑定标量变量以及在此问题上的任何绑定变量都需要将其实际数据存储在某个地方。
Note that a tied scalar variable, and any tied variable for that matter, needs to store its actual data somewhere.
顺便说一下,绑定的数组正好是最复杂的绑定变量类型,而且根据我的统计在 CPAN 上也实现得最少。
As a side note, tied arrays happen to be the most complex tied variable type, and the least often implemented on CPAN by my count.
ResultSet支持在查询返回的每个QuerySolution上进行迭代,这提供了对每个绑定变量值的访问。
The ResultSet allows you to iterate over each QuerySolution returned by the query, providing access to each bound variable's value.
绑定变量 (tied variables)这章涵盖了这一项有用技术中的所有要点,并更新了绑定文件句柄的方法,以及CPAN 库中的 Tiemodules模块列表。
The chapter on tied variables covers the essentials of this useful technique, and is updated with methods for tying a filehandle, and a list of Tie modules on CPAN.
您可以使用此函数创建变量绑定标记,方法是更改函数的参数。
With this function you can create variable bind tags by changing the parameters to the function.
这是因为实际的源代码和变量绑定可以更改,这是建立在环境或者构建宏预处理程序指令的时间定义的基础上的。
This is because the actual source code and the variable binding can change, based on the environment or the build time definitions of macros and preprocessor commands.
出于编程目的,您要将每个字段绑定到全局变量。
For programmatic purposes, you will bind each field to a global variable.
使用这样的宏可以显著减少代码输入量,因为不必不断地编写和重新编写变量绑定、派生和参数传递。
Using macros like this significantly reduces typing because you do not have to constantly be writing and rewriting variable bindings, derivations, and parameter passing.
对于包中的静态dml语句,将在进行绑定时解析全局变量。
For static DML statements in packages, the global variables are resolved during a bind operation.
还有一些助手方法来简化SNMP变量绑定,有一个方法来获取一个新pdu。
There are some helper methods to simplify SNMP variable binding and a method to acquire a new PDU.
注意,这种操作意味着先计算出值,然后把值绑定到变量。
Note that this operation means that the value is calculated before being bound to the variable.
仔细地在文档中记录所有样板宏,尤其是引入的变量绑定和版本之间的所有变化。
Carefully document all boilerplate macros, especially the introduced variable bindings and all changes between versions.
注意,如果模式是绑定的变量,或者模式的元素是绑定的变量,那么模式匹配的结果就会变成比较。
Note in the evaluation, if the pattern is a bound variable, or the element of the pattern is a bound variable, then the result of the pattern match becomes a comparison.
每次写绑定标量变量时,都会调用它的STORE方法。
Every time you write to a tied scalar variable, you invoke its STORE method.
for:对输入序列进行迭代,依次将一个变量绑定到每个输入项。
For: Iterates through an input sequence, binding a variable to each input item in turn.
将应用程序变量绑定到预备语句中的参数标记。
Bind application variables to parameter markers used in a prepared statement.
Sitebricks会自动将表单数据绑定到成员变量,正如对请求参数所做的那样。
Sitebricks will automatically bind the form data to the member variables, just as it would do for request parameters.
Sitebricks会自动将表单数据绑定到成员变量,正如对请求参数所做的那样。
Sitebricks will automatically bind the form data to the member variables, just as it would do for request parameters.
应用推荐