文本模板示例输出 |
|
============================================================================== 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 ==============================================================================
返回 文本模板