|☞||Program Repair Shop||25|
My Text::Template module had an interface like this
Error messages were deposited in $Text::Template::ERROR
I would periodically get worried email about this
Isn't this violating the interface abstraction?
What if the variable name or implementation changes in the future?
Wouldn't it be safer to provide a function to be the interface?
But what if you decide to change it someday?