On Sep 30, 2004, at 14:51, Kake L Pugh wrote:
On Thu 30 Sep 2004, Kake L Pugh kake@earth.li wrote:
22:30 <jerakeen> or more generally, Formatter::<to>::<from>
You know, I am going to have great trouble remembering which way round these are; and it's also not going to be at all obvious to someone seeing it for the first time.
The rationale is that 90% of the time, you want, say, HTML, and you want to accept anything. So you can look in the Formatter::HTML::* modules using Module::Pluggable or something.
Anyway, ideally, you'd use some meta-api like Formatter->from("POD")->to("HTML")->format($pod) and not need to worry about sub-modules...
tom