开发者

How do I call pod2usage using my caller's documentation?

开发者 https://www.devze.com 2023-01-22 15:41 出处:网络
I\'d like to be able to call pod2usage in a method that encapsulates a lot of standardized comman开发者_如何转开发d line argument handling, but I can\'t see how I\'d be able to put that handling into

I'd like to be able to call pod2usage in a method that encapsulates a lot of standardized comman开发者_如何转开发d line argument handling, but I can't see how I'd be able to put that handling into a separate module and have the pod2usage output be the documentation from the calling file. Is this possible?


ONe of the many options to pod2usage is

"-input" A reference to a filehandle, or the pathname of a file from which the invoking script's pod documentation should be read. It defaults to the file indicated by $0 ($PROGRAM_NAME for users of English.pm).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号