[interchange-docs] xmldocs - docelic modified 2 files

Kevin Walsh kevin at cursor.biz
Wed Jun 21 18:05:57 EDT 2006


Jon Jensen <jon at endpoint.com> wrote:
> On Wed, 21 Jun 2006, Kevin Walsh wrote:
> 
> > You can don't have to set a temporary scratch in two steps,
> > as you suggested.  You can set it in one step with the following:
> >
> >    $Tag->tmp({
> >        name => $name,
> >        body => $value,
> >    });
> >
> > or similarly with positional parameters:
> >
> >    $Tag->tmp($name, $attribute_hash_reference, $value);
> 
> That positional example is wrong, isn't it? The tmp tag doesn't have 
> addAttr set. I've always used $Tag->tmpn($name => $value).
> 
> > That method should also be listed in the "GlobalSub code or UserTags"
> > table that follows your example.
> 
> Also, might as well use $Tag->tmpn() to avoid unneeded interpolation of 
> the value which is the default for tmp.
> 
Correct on both counts - oops.

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    kevin at cursor.biz
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/


More information about the docs mailing list