From: Gurusamy Sarathy Date: Tue, 7 Jul 1998 21:29:46 +0000 (+0000) Subject: doc tweaks suggested by Abigail, M.J.T. Guy, and Larry Wall X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=51301382055ed3f3276ad3e2c544fb9e477a270e;p=p5sagit%2Fp5-mst-13.2.git doc tweaks suggested by Abigail, M.J.T. Guy, and Larry Wall p4raw-id: //depot/perl@1357 --- diff --git a/lib/Math/Trig.pm b/lib/Math/Trig.pm index 7192d76..b7b5d5d 100644 --- a/lib/Math/Trig.pm +++ b/lib/Math/Trig.pm @@ -381,7 +381,7 @@ points on a sphere. The distance is in C<$rho> units. The C<$rho> is optional, it defaults to 1 (the unit sphere), therefore the distance defaults to radians. -=head EXAMPLES +=head1 EXAMPLES To calculate the distance between London (51.3N 0.5W) and Tokyo (35.7N 139.8E) in kilometers: diff --git a/lib/fields.pm b/lib/fields.pm index 2c75ff4..05271a3 100644 --- a/lib/fields.pm +++ b/lib/fields.pm @@ -42,11 +42,11 @@ and the 'base' pragma modules. The 'base' pragma will copy fields from base classes and the 'fields' pragma adds new fields. Field names that start with an underscore character are made private to a class and are not visible to subclasses. Inherited fields can be -overridden but will generate a warning if used together with the -w -option. +overridden but will generate a warning if used together with the C<-w> +switch. The effect of all this is that you can have objects with named fields -which are as compact and as fast arrays too access. This only works +which are as compact and as fast arrays to access. This only works as long as the objects are accessed through properly typed variables. For untyped access to work you have to make sure that a reference to the proper %FIELDS hash is assigned to the 0'th element of the array diff --git a/thread.sym b/thread.sym index 4e768b5..1e0ca6a 100644 --- a/thread.sym +++ b/thread.sym @@ -1 +1 @@ -# \ No newline at end of file +#