develooper Front page | perl.perl5.porters | Postings from October 2003

[patch pod/perlfunc.pod] separate two unrelated notes in require

Thread Next
From:
Stas Bekman
Date:
October 29, 2003 16:47
Subject:
[patch pod/perlfunc.pod] separate two unrelated notes in require
Message ID:
3FA05F9C.2080304@stason.org
a file not being required twice and requiring that the file returns a true 
value in require are totaly unrelated things, and hence don't belong to the 
same para. so I just split one para into two paras.

--- pod/perlfunc.pod.orig       2003-10-29 16:44:29.000000000 -0800
+++ pod/perlfunc.pod    2003-10-29 16:44:48.000000000 -0800
@@ -4090,7 +4090,9 @@
      }

  Note that the file will not be included twice under the same specified
-name.  The file must return true as the last statement to indicate
+name.
+
+The file must return true as the last statement to indicate
  successful execution of any initialization code, so it's customary to
  end such a file with C<1;> unless you're sure it'll return true
  otherwise.  But it's better just to put the C<1;>, in case you add more


__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About