Subject: | Documentation typos |
A few instances of missing semi-colons after package declarations. A
couple C<...> with '>' inside instead of E<gt>. See attached patch
against InsideOut.pm
Subject: | patch-typos-InsideOut.pm |
--- InsideOut.pm 2006-05-04 07:55:20.000000000 -0700
+++ InsideOut.pm-yDNA 2006-05-24 10:48:17.000000000 -0700
@@ -2330,7 +2330,7 @@
To use this module, your classes will start with S<C<use Object::InsideOut;>>:
- package My::Class: {
+ package My::Class; {
use Object::InsideOut;
...
}
@@ -2338,14 +2338,14 @@
Sub-classes inherit from base classes by telling Object::InsideOut what the
parent class is:
- package My::Sub {
+ package My::Sub; {
use Object::InsideOut qw(My::Parent);
...
}
Multiple inheritance is also supported:
- package My::Project {
+ package My::Project; {
use Object::InsideOut qw(My::Class Another::Class);
...
}
@@ -2359,7 +2359,7 @@
L<Exporter|/"Usage With C<Exporter>">), enclose them in an array ref
(mandatory) following the name of the parent class:
- package My::Project {
+ package My::Project; {
use Object::InsideOut 'My::Class' => [ 'param1', 'param2' ],
'Another::Class' => [ 'param' ];
...
@@ -3473,17 +3473,17 @@
=item my $obj = Object::InsideOut->pump($data);
-C<Object::InsideOut->pump()> takes the output from the C<-E<gt>dump()> method,
+C<Object::InsideOut-E<gt>pump()> takes the output from the C<-E<gt>dump()> method,
and returns an object that is created using that data. If C<$data> is the
array ref returned by using C<$obj-E<gt>dump()>, then the data is inserted
directly into the corresponding fields for each class in the object's class
-hierarchy. If If C<$data> is the string returned by using
+hierarchy. If C<$data> is the string returned by using
C<$obj-E<gt>dump(1)>, then it is C<eval>ed to turn it into an array ref, and
then processed as above.
If any of an object's fields are dumped to field name keys of the form
C<ARRAY(0x...)> or C<HASH(0x...)> (see above), then the data will not be
-reloadable using C<Object::InsideOut->pump()>. To overcome this problem, the
+reloadable using C<Object::InsideOut-E<gt>pump()>. To overcome this problem, the
class developer must either add C<Name> keywords to the C<:Field> declarations
(see above), or provide a C<:Dumper>/C<:Pumper> pair of subroutines as
described below.