in reply to Re: POD for .pl file ?
in thread POD for .pl file ?

The -F generally isn't even needed. perldoc filename.pl will work just fine.

-xdg

Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.

Replies are listed 'Best First'.
Re^3: POD for .pl file ?
by bigmacbear (Monk) on May 16, 2006 at 23:54 UTC

    True, as long as the script is in the user's $PATH. perldoc searches $PATH as well as @INC so it can read the POD in the utility scripts that come with perl, including perldoc itself.