in reply to Translating Module Names to File Names

On the command line, I usually use perldoc -l for this purpose. For example: % emacs `perldoc -l CGI`

Replies are listed 'Best First'.
(bbfu) (perldoc -l) Re: Re: Translating Module Names to File Names
by bbfu (Curate) on Feb 21, 2001 at 04:08 UTC

    Ah, good. I didn't know about the -l switch. But really, I wanted to avoid making a call to an external program to translate the filename (though I suppose that's a lot better than what I was doing (opening a pipe to perldoc -m Module to read the file in) and it would be more robust than what I have).

    Well, putting aside for the moment the fact that I'm reinventing a little wheel, I'd like to know what everyone thinks about my implementation. Is there anything I'm missing that would cause this to choke? Am I totally going about it wrong? Or does it look Ok?

    bbfu
    Seasons don't fear The Reaper.
    Nor do the wind, the sun, and the rain.
    We can be like they are.