abw / Template2

Perl Template Toolkit v2
http://template-toolkit.org/
146 stars 94 forks source link

Type of error with STRICT documented as "var.undefined" but implemented as "var.undef" #285

Closed dboehmer closed 2 years ago

dboehmer commented 3 years ago

I’m working on a proof of concept to implement a more useful STRICT implementation. See https://github.com/abw/Template2/issues/75#issuecomment-575864532

I found that the type of error generated

I can fix that but do you want to adhere to published documentation or avoid behavior changes?

I actually doubt anyone is using STRICT mode as currently implemented and even more that anyone relies the error type generated.

abw commented 3 years ago

Thanks for addressing this. I think it's probably better to keep the implementation the same and update the documentation. But I'm happy either way if decide there's a good reason to keep it as per the docs.

abw commented 2 years ago

I've updated the Manual/Config.pod to change var.undefined to var.undef