|Welcome to the Monastery|
Re: New bracket-link stuffby davido (Archbishop)
|on Apr 24, 2004 at 05:15 UTC||Need Help??|
Bravo theorbtwo. From CB discussion to actual preliminary implementation in 24 hours!
One thought on the ability to configure [doc://...] for different POD versions...
You could allow for this type of format: [doc://podname:version]. I know of no POD containing a colon in its name. The trick would be that if the version number is for a version not available on www.perldoc.com, the DWIMery mechanism would go for the next higher or next lower version that does exist on the site. I would vote for "rounding down" to the nearest version. For example, if someone requests the following link: [doc://perlre:5.8.2], which doesn't exist at www.perldoc.com, the mechanism would round down to [doc://perlre:5.8.0].
Also, it may be nice to allow for a user setting that sets the "default" POD version number to be used with the [doc:// tag.
Some of this may be too much work; I don't know what the code looks like.
One other question: Is there a defined behavior if this tag is used on core modules?
Anyway, good job on getting this up and running so fast.