OODoc::Text::Default - one default for an option in one subroutine
OODoc::Text::Default is a OODoc::Text is a OODoc::Object
Each OODoc::Text::Subroutine can have a list of options, which have default values 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::Default->new(OPTIONS)
Option Defined in Default container L<OODoc::Text> L<new(subroutine)|OODoc::Text::Default/"METHODS"> description L<OODoc::Text> C<''> linenr L<OODoc::Text> <required> name L<OODoc::Text> undef subroutine <required> type L<OODoc::Text> C<'Default'> value <required>
. container OBJECT
. description STRING
. linenr INTEGER
. name STRING
. subroutine OBJECT
The subroutine in which this option lives.
. type STRING
. value STRING
The value which is related to this default.
$obj->extends([OBJECT])
See "Inheritance knowledge" in OODoc::Object
$obj->container([OBJECT])
See "Attributes" in OODoc::Text
$obj->description
$obj->name
$obj->subroutine
Returns the subroutine object for this option.
$obj->type
$obj->value
The value of this default.
$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::Default->filenameToPackage(FILENAME)
See "Commonly used functions" in OODoc::Object
$obj->mkdirhier(DIRECTORY)
OODoc::Text::Default->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().
See the OODoc website at http://perl.overmeer.net/oodoc/ for more details.
Module version 0.10. Written by Mark Overmeer (mark@overmeer.net). See the ChangeLog for other contributors.
Copyright (c) 2003 by the author(s). All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
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.