OODoc::Text::Option - one option for one subroutine
OODoc::Text::Option is a OODoc::Text is a OODoc::Object
Each OODoc::Text::Subroutine can have a list of options, 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::Option->new(OPTIONS)
Option Defined in Default container L<OODoc::Text> L<new(subroutine)|OODoc::Text::Option/"METHODS"> description L<OODoc::Text> C<''> linenr L<OODoc::Text> <required> name L<OODoc::Text> undef parameters <required> subroutine <required> type L<OODoc::Text> C<'Option'>
. container OBJECT
. description STRING
. linenr INTEGER
. name STRING
. parameters STRING
An informal short description of the valid values for this option.
. subroutine OBJECT
The subroutine in which this option lives.
. type STRING
$obj->extends([OBJECT])
See "Inheritance knowledge" in OODoc::Object
$obj->container([OBJECT])
See "Attributes" in OODoc::Text
$obj->description
$obj->name
$obj->parameters
Returns the short, informal description of the valid parameters for this option.
$obj->subroutine
Returns the subroutine object for this option.
$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::Option->filenameToPackage(FILENAME)
See "Commonly used functions" in OODoc::Object
$obj->mkdirhier(DIRECTORY)
OODoc::Text::Option->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.