Keep It Simple, Stupid | |
PerlMonks |
Re: Getting perldoc to recognize different perl versionsby arturo (Vicar) |
on Apr 17, 2001 at 18:12 UTC ( [id://73138]=note: print w/replies, xml ) | Need Help?? |
Here's a possiblity: make symlinks to the 'real' perldoc script as you've suggested. Then, pop in a little wrapper at the top of your real perldoc script that sees how it was called ($0 holds the value you want to check) and adjusts @INC accordingly ... Philosophy can be made out of anything. Or less -- Jerry A. Fodor
In Section
Seekers of Perl Wisdom
|
|