mjgardner, to Perl
@mjgardner@social.sdf.org avatar

@Perl The #perldoc utility included with #Perl has long provided an -X option to find modules and POD files via a separate architecture-specific pod.idx file: https://perldoc.perl.org/perldoc#-X

But I can't find any tooling that creates or maintains this file as one installs and uninstalls module distributions. Does anything use this, or is it a vestigial feature from the late 90s?

(note that this has nothing to do with the rarely-used X<> POD formatting code: https://perldoc.perl.org/perlpod#X-an-index-entry)

jochie, to til
@jochie@strangeweb.page avatar

How... had I never realized that "perldoc -f <builtin-function>” is a thing? Game changer!

I realized this as I'm poking around to find out if there is /any/ way (documented or not) to substitute the current program/topic in the =pod section, so I can copy a script template around and require fewer changes to get up and running.

If anyone has an answer to that (which may be of the form "Nope, no dice”), I would appreciate it.

:perl_camel: #perl #perldoc #pod #TIL

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • ngwrru68w68
  • modclub
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • megavids
  • GTA5RPClips
  • ethstaker
  • normalnudes
  • tester
  • osvaldo12
  • everett
  • cubers
  • tacticalgear
  • anitta
  • provamag3
  • Leos
  • cisconetworking
  • lostlight
  • All magazines