Adam Turoff recently took an idea of Larry's...
http://archive.develooper.com/bootstrap%40perl.org/msg01191.html
(Larry said:)
>: I think we can safely presume that the pod-to-foo translators will have
>: been locally hacked to account for the RFC-ish nature of the documents.
>: IOW, that L<RFC1> will be correctly translated into
>: <a href="/rfc/1.html">RFC1</a> or some such.
>I'd say it's a flaw in pod that you can't import a policy like that with
>some sort of "=use" declaration.

and extended it:
http:[EMAIL PROTECTED]/msg00606.html
so that "=use Shazbot" apparently means "Go load the Shazbot module"
so you will know about new directives, and will know how to format them.


Well, I see two problem areas:

1) I also want something like "Try loading Shazbot, and if you can, then
do THIS, otherwise it's OK, just ignore this stuff...".  Maybe like
"=begin use-Thing ... =end use-Thing".

2) I don't think "=use Shazbot" means "go load Shazbot.pm".  Since a
pod2man has to have its own way of rendering directives that you're
adding, and pod2html has to have another, and so on for all the target
formats, Pod::Man would want to load Pod::Man::Shazbot (or
Pod::Man::Plugins::Shazbot), Pod::HTML would want to load
Pod::HTML::Shazbot (or Pod::HTML::Plugins::Shazbot).  I'm not sure that
that's /definitely too/ complicated, but it's certainly more complicated
than it looks.


--
Sean M. Burke    [EMAIL PROTECTED]    http://www.spinn.net/~sburke/

Reply via email to