|Subject:||Documentation: dependence on "can" method not made clear|
I have found that in order to use something like <TMPL_VAR NAME="world.hello"> with $template->param(world=>$world), it is important that $world->can('hello') is true. If the $world object is relying on AUTOLOAD this will not be true. The class code for $world can get round this by overriding the "can" function but it is not obvious that one would want to do this. I suspect that this may be the underlying cause for #40714 as well.