文本模板示例输出

lua-users home
wiki

==============================================================================

you can access variables: this is v

or environment variables: /home/pshook

you can call functions: A, B, C, D, E
this list has 5 elements
   =====
   ABCDE
   =====

or evaluate code inline
      list[1] = A
      list[2] = B
      list[3] = C
      list[4] = D


you can access global variables:
This example is from Mark J. Dominus at http://perl.plover.com/

The Lord High Chamberlain has gotten 5
things for me this year.

That is 3 more than he gave me last year.

values can have other variables: Mark J. Dominus made Text::Template.pm
==============================================================================

返回 文本模板


最近更改 · 偏好设置
编辑 · 历史记录
最后编辑于 2001 年 11 月 25 日下午 4:19 GMT (差异)