in reply to Putting comments in an object
Ungh. That sounds ugly. Embrace POD as the one true way to document your code. If you want a module to return its documention (which, at face value, sounds strange) then convert your module name to a path name and run pod2* on that file. Basically class Foo::Bar's get translated to system 'pod2html', 'Foo/Bar.pm' or something of that sort.
I believe you could capture pod2text's output and return that as a string if you really want the class to return something.
- doug
|
|---|