You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
The underscore function is automatically global #39
All Perl symbols that consist of punctuation only are automatically global. That means that you do not have to export _().
I think that this behavior should at least be documented. And maybe you can think of a better function name so that the global namespace does not get polluted.
If you are searching for another function name, please keep in mind that the double underscore __() is already exported by https://metacpan.org/pod/Locale::TextDomain and in relatively wide use.
You're totally right, this was a bad decision, it does not have much use anyway so I'll try to deprecate it or think of a better way, I'll keep this open until I sort this issue
Activity
mamod commentedon Oct 28, 2018
You're totally right, this was a bad decision, it does not have much use anyway so I'll try to deprecate it or think of a better way, I'll keep this open until I sort this issue
Thank you for reporting this