Manual Pages for Linux CentOS command on man Pod::Perldoc::GetOptsOO
MyWebUniversity

Manual Pages for Linux CentOS command on man Pod::Perldoc::GetOptsOO

Pod::Perldoc::GetOptsOUser Contributed Perl DocumentPod::Perldoc::GetOptsOO(3)

NAME

Pod::Perldoc::GetOptsOO - Customized option parser for Pod::Perldoc SYNOPSIS use Pod::Perldoc::GetOptsOO ();

Pod::Perldoc::GetOptsOO::getopts( $obj, \@args, $truth ) or die "wrong usage"; DESCRIPTION Implements a customized option parser used for Pod::Perldoc. Rather like Getopt::Std's getopts:

Call Pod::Perldoc::GetOptsOO::getopts($object, \@ARGV, $truth)

Given -n, if there's a optnwith, it'll call $object->optnwith(

ARGUMENT ) (e.g., "-n foo" => $object->optnwith('foo'). Ditto

"-nfoo")

Otherwise (given -n) if there's an optn, we'll call it

$object->optn($truth) (Truth defaults to 1)

Otherwise we try calling $object->handleunknownoption('n') (and we increment the error count by the return value of it) If there's no handleunknownoption, then we just warn, and then increment the error counter The return value of Pod::Perldoc::GetOptsOO::getopts is true if no errors, otherwise it's false. SEE ALSO Pod::Perldoc COPYRIGHT AND DISCLAIMERS

Copyright (c) 2002-2007 Sean M. Burke. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. AUTHOR Current maintainer: Mark Allen "" Past contributions from: brian d foy "" Adriano R. Ferreira "", Sean M. Burke ""

perl v5.16.3 2013-04-27 Pod::Perldoc::GetOptsOO(3)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™