On Fri, Aug 17, 2001 at 05:21:36AM +0200, Jonas Liljegren wrote:
> The import() function/method is not enough.  It would be better if
> .import (without parameters) would import to the current namespace.

It does:

  [% import(myhash) %]

(you don't need the leading '.')

Is that what you mean?  

Or were you thinking of:

  [% myhash.import %]

If that's the case, then I must disagree.  I think it would be too 
confusing to have 

  [% myhash.import(another) %]

meaning "import values of another into myhash", as it currently is, and

  [% myhash.import %]

meaning "import values of myhash into the root".  In one, myhash is the
subject, in the other it's the object.  


> But it wouldn't hur to also have a IMPORT directive.  

True.

A



Reply via email to