| DBIx-Class documentation | view source | Contained in the DBIx-Class distribution. |
DBIx::Class::Manual::Reading - How to read and write DBIx::Class POD.
This doc should help users to understand how the examples and documentation found in the DBIx::Class distribution can be interpreted.
Writers of DBIx::Class POD should also check here to make sure their additions are consistent with the rest of the documentation.
Methods should be documented in the files which also contain the code for the method, or that file should be hidden from PAUSE completely, in which case the methods are documented in the file which loads it. Methods may also be documented and referred to in files representing the major objects or components on which they can be called.
For example, DBIx::Class::Relationship documents the methods actually coded in the helper relationship classes like DBIx::Class::Relationship::BelongsTo. The BelongsTo file itself is hidden from PAUSE as it has no documentation. The accessors created by relationships should be mentioned in DBIx::Class::Row, the major object that they will be called on.
, , preceded by the
text "Arguments: "
=item Arguments: $accessor_name, $related_class, $fk_column|\%cond|\@cond?, \%attr?
## Correct \%myhashref|\@myarrayref?
## Wrong \%myhashref?|\@myarrayref
undef in place of the missing argument. ## Good examples =item Return value: undefined =item Return value: A schema object =item Return value: $classname
## Bad examples =item Return value: The names
see DBIx::Class
You may distribute this code under the same terms as Perl itself.
| DBIx-Class documentation | view source | Contained in the DBIx-Class distribution. |