A nice addition to [doc:// ... ] would seem to me, lookup into the official FAQ, like perldoc -q keywords does from the command line. I personally like [faq://keywords] as a syntax for the link.
in reply to New bracket-link stuff
That could link to the FAQ section on perldoc.com, for example [faq://intersection] would point to the URL for the question "How do I compute the difference of two arrays? How do I compute the intersection of two arrays?" in perlfaq4.
I'm not sure what a query with more than one result should yield. I'm inclined to think of a dynamic page on this site, with titles and links to its associated page on perldoc.com. Some mechanism to preselect one particular question in this list of results, in the link specification, would be extra nice.
p.s. Currently, perldoc.com is having troubles. That way my example has to remain a bit on the abstract side.