[Templates] Called UNIVERSAL::can() as a function, not a method

Chisel Wright chisel at herlpacker.co.uk
Tue May 12 12:27:07 BST 2009


On Tue, May 12, 2009 at 12:19:28PM +0100, Andy Wardley wrote:
> > I've attached a patch written against Template-Toolkit-2.20.
> 
> No you haven't :-)

Damn - I always do that. I need the "It looks like you forgot an
attachment" Google Labs plugin for mutt. Or to be less forgetful.

> Before you re-send it, can you confirm that all the tests pass with the
> patch in.  If they do then I have no objection to the patch in principle.
> But I've got a nasty suspicion that there may be problems...

They did all pass:

---- cut here ----
t/args.t .............. ok     
t/assert.t ............ ok     
t/autoform.t .......... skipped: (no reason given)
t/base.t .............. ok     
# ...
# ...
t/url2.t .............. skipped: (no reason given)
t/vars.t .............. ok       
t/varsv1.t ............ ok     
t/view.t .............. ok       
t/vmethods/hash.t ..... ok     
t/vmethods/list.t ..... ok     
t/vmethods/replace.t .. ok     
t/vmethods/text.t ..... ok     
t/while.t ............. ok     
t/wrap.t .............. ok     
t/wrapper.t ........... ok     
All tests successful.
Files=86, Tests=2809, 28 wallclock secs ( 1.14 usr  0.24 sys + 13.17 cusr  1.51 csys = 16.06 CPU)
Result: PASS
---- cut here ----

-- 
Chisel Wright
e: chisel at herlpacker.co.uk
w: http://www.herlpacker.co.uk/

  Everyone's first vi session:
    ^C^C^X^X^X^XquitqQ!qdammit[esc]qwertyuiopasdfghjkl;:xwhat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: template-2.2.0-can.patch
Type: text/x-diff
Size: 2935 bytes
Desc: not available
Url : http://mail.template-toolkit.org/pipermail/templates/attachments/20090512/d70c09f1/attachment.patch 


More information about the templates mailing list