Closed hongliang5316 closed 7 years ago
@hongliang5316 That warning can be safely ignored. I've never seen that thing myself. Maybe your Text::Glob module or Lemplate are too old?
fwiw, I see that warning every time too, and I'm pretty sure I have the latest modules installed.
@ingydotnet Since I cannot reproduce it myself, will you dig it up? Thanks!
I can reproduce this with in the openresty/lemplate
repo clone dir like this:
$ ./lemplate >/dev/null
Name "Text::Glob::seperator" used only once: possible typo at Text/Glob.pm line 24.
I'll look for a quick fix.
Fixed in #9.
Already merged @ingydotnet's workaround and released as CPAN version 0.15.
Hi, @agentzh When i use
/opt/lemplate/lemplate --compile template/*.tt2 > templates.lua
it occursName "Text::Glob::seperator" used only once: possible typo at Text/Glob.pm line 24.
and thetemplates.lua
is generated successful.