OODoc::Text::Example - one example for the use of a subroutine
OODoc::Text::Example is a OODoc::Text is a OODoc::Object
Each OODoc::Text element can have a list of examples, which are each captured in a separate object as described in this manual page.
overload: '""' (stringification)
See "OVERLOADED" in OODoc::Text
overload: '==' and '!='
overload: 'cmp' (string comparison)
OODoc::Text::Example->new(OPTIONS)
Option --Defined in --Default container OODoc::Text <required> description OODoc::Text '' linenr OODoc::Text <required> name OODoc::Text undef type OODoc::Text 'Example'
. container => OBJECT
. description => STRING
. linenr => INTEGER
. name => STRING
. type => STRING
$obj->extends([OBJECT])
See "Inheritance knowledge" in OODoc::Object
$obj->container([OBJECT])
See "Attributes" in OODoc::Text
$obj->description
$obj->name
$obj->type
$obj->manual([NAME])
See "Location" in OODoc::Text
$obj->unique
$obj->where
$obj->example(OBJECT)
See "Collected" in OODoc::Text
$obj->examples
$obj->findDescriptionObject
$obj->openDescription
$obj->filenameToPackage(FILENAME)
OODoc::Text::Example->filenameToPackage(FILENAME)
See "Commonly used functions" in OODoc::Object
$obj->mkdirhier(DIRECTORY)
OODoc::Text::Example->mkdirhier(DIRECTORY)
$obj->addManual(MANUAL)
See "Manual Repository" in OODoc::Object
$obj->mainManual(NAME)
$obj->manuals
$obj->manualsForPackage(NAME)
$obj->packageNames
Error: manual definition requires manual object
A call to addManual() expects a new manual object (a OODoc::Manual), however an incompatible thing was passed. Usually, intended was a call to manualsForPackage() or mainManual().
This module is part of OODoc distribution version 1.04, built on June 12, 2008. Website: http://perl.overmeer.net/oodoc/
Copyrights 2003-2008 by Mark Overmeer. For other contributors see ChangeLog.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://www.perl.com/perl/misc/Artistic.html
To install OODoc, copy and paste the appropriate command in to your terminal.
cpanm
cpanm OODoc
CPAN shell
perl -MCPAN -e shell install OODoc
For more information on module installation, please visit the detailed CPAN module installation guide.