-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
* Paul Makepeace <tt2.org at paulm.com> [2003-06-03 09:50]:
> My attempt to pass in a template parameter named "component" is
> stymied by some behind-the-scenes clobbering.
[-- snip --]
> Is this intentional, documented? I didn't see anything to suggest it
> was.
component is a special variable. Template::Manual::Variables says:
component
The 'component' variable is like 'template' but always
contains a reference to the current, innermost tem-
plate component being processed. In the main tem-
plate, the 'template' and 'component' variable will
reference the same Template::Document object. In any
other template component called from the main tem-
plate, the 'template' variable will remain unchanged,
but 'component' will contain a new reference to the
current component.
(darren)
- --
You are what you see.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: This message is digitally signed and can be verified for authenticity.
iD8DBQE+3KmbzsinjrVhZaoRA/9KAJ9y2bSjkJRXr77k7h035HB2svWUNACgmo5A
L2zwyO07V9v4MOv5sDOy0tQ=
=4Tr3
-----END PGP SIGNATURE-----
_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates