http://www.perlmonks.org?node_id=1021030


in reply to Re: App::Cmd::Command and abstract encoding
in thread App::Cmd::Command and abstract encoding

Hi tobyink,

thank you for the fast answer. Before checking whether someone answered here I had a look at the source code, too. So I had to smile reading your comment.

I'm pretty sure it should be easy to react on a pattern

/^=encoding\s+[uU][tT][fF]-?8/
while in status $inpod.

It seems to be a little harder to parse for a use utf8;-like statement.

What do you think about scanning for =encoding ?

Best regards
McA

P.S.: I forgot something: I work with App::Cmd in combination with dzil and dzil generates the pod entries for me.