From: David Golden Date: Thu, 11 Feb 2010 03:13:59 +0000 (-0500) Subject: Help new users learn how to get help X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6b43eec4c0ed080ffa657f72d86e4badff8c4c8c;p=p5sagit%2Fp5-mst-13.2.git Help new users learn how to get help --- diff --git a/perl.c b/perl.c index 04184be..728ec88 100644 --- a/perl.c +++ b/perl.c @@ -2853,6 +2853,10 @@ NULL name); while (*p) PerlIO_printf(PerlIO_stdout(), "\n %s", *p++); + + PerlIO_printf(PerlIO_stdout(), + "Run 'perldoc perl' for more help with Perl.\n\n" + ); } /* convert a string of -D options (or digits) into an int. diff --git a/pod/perl.pod b/pod/perl.pod index aff380e..f30dd92 100644 --- a/pod/perl.pod +++ b/pod/perl.pod @@ -15,9 +15,16 @@ B S<[ B<-sTtuUWX> ]> S<[ B<-i>[I] ]> S<[ [B<-e>|B<-E>] I<'command'> ] [ B<--> ] [ I ] [ I ]...> -If you're new to Perl, you should start with L, which is a -general intro for beginners and provides some background to help you -navigate the rest of Perl's extensive documentation. +=head1 GETTING HELP + +The F program gives you access to all the documentation that comes +with Perl. You can get more documentation, tutorials and community support +online at L. + +If you're new to Perl, you should start by running C, +which is a general intro for beginners and provides some background to help +you navigate the rest of Perl's extensive documentation. Run C to learn more things you can do with F. For ease of access, the Perl manual has been split up into several sections. @@ -231,37 +238,12 @@ For ease of access, the Perl manual has been split up into several sections. perlvos Perl notes for Stratus VOS perlwin32 Perl notes for Windows +On a Unix-like system, these documentation files will usually also be +available as manpages for use with the F program. -By default, the manpages listed above are installed in the -F directory. - -Extensive additional documentation for Perl modules is available. The -default configuration for perl will place this additional documentation -in the F directory (or else in the F -subdirectory of the Perl library directory). Some of this additional -documentation is distributed standard with Perl, but you'll also find -documentation for third-party modules there. - -You should be able to view Perl's documentation with your man(1) -program by including the proper directories in the appropriate start-up -files, or in the MANPATH environment variable. To find out where the -configuration has installed the manpages, type: - - perl -V:man.dir - -If the directories have a common stem, such as F -and F, you need only to add that stem -(F) to your man(1) configuration files or your MANPATH -environment variable. If they do not share a stem, you'll have to add -both stems. - -If that doesn't work for some reason, you can still use the -supplied F script to view module information. You might -also look into getting a replacement man program. - -If something strange has gone wrong with your program and you're not -sure where you should look for help, try the B<-w> switch first. It -will often point out exactly where the trouble is. +In general, if something strange has gone wrong with your program and you're +not sure where you should look for help, try the B<-w> switch first. It will +often point out exactly where the trouble is. =head1 DESCRIPTION