sbekman 01/04/25 20:11:06
Modified: pod modperl_style.pod
Log:
pod spacing correction + a small clarification from Doug
Revision Changes Path
1.4 +12 -10 modperl-2.0/pod/modperl_style.pod
Index: modperl_style.pod
===================================================================
RCS file: /home/cvs/modperl-2.0/pod/modperl_style.pod,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- modperl_style.pod 2001/04/25 15:25:45 1.3
+++ modperl_style.pod 2001/04/26 03:11:04 1.4
@@ -4,7 +4,7 @@
=head1 DESCRIPTION
-This document
+This document
=head1 C code
@@ -91,11 +91,13 @@
Avoid indirect method calls, e.g.
- don't say:
+don't say:
+
new CGI::Cookie
+
+say:
- say:
- CGI::Cookie->new
+ CGI::Cookie->new
=back
@@ -105,15 +107,15 @@
=item Avoid inherting from certain modules
-Exporter
+Exporter.
To avoid inherting B<AutoLoader::AUTOLOAD>
- instead of this:
+instead of this:
@MyClass::ISA = qw(Exporter);
-
- use this:
-
+
+use this:
+
*import = \&Exporter::import;
@@ -125,6 +127,6 @@
=item %main::
-stay away from main::
+stay away from main:: to avoid namespace clashes
=back