I use perlfind [1] instead of perldoc (ref_perldoc_cmd="perlfind") and it has a lot of similar logic to determine the mode/context, but it works in most cases without needing other options. For instance the new ref_perldoc_auto_append_f option is required to properly look up pragmas. Can you add an option to disable the mode test to so I can just have perlfind do this itself?
[1] http://search.cpan.org/dist/App-perlfind/
I use perlfind [1] instead of perldoc (ref_perldoc_cmd="perlfind") and it has a lot of similar logic to determine the mode/context, but it works in most cases without needing other options. For instance the new ref_perldoc_auto_append_f option is required to properly look up pragmas. Can you add an option to disable the mode test to so I can just have perlfind do this itself?
[1] http://search.cpan.org/dist/App-perlfind/