|
NAMEBigtop::ScriptHelp::Style - Factory for scripts' command line and standard in handlersSYNOPSISuse Bigtop::ScriptHelp; use Bigtop::ScriptHelp::Style; my $style = ... my $style_helper = Bigtop::ScriptHelp::Style->get_style( $style ); # pass this style as the first parameter to # Bigtop::ScriptHelp->get_big_default # Bigtop::ScriptHelp->augment_tree DESCRIPTIONThis module factors command line argument and standard in handling out of scripts and ScriptHelp. It is a simple factory. Call "get_style" with the name of a style module, to receive a style suitable for passing to "<Bigtop::ScriptHelp-"get_big_default>> and "<Bigtop::ScriptHelp-"augment_tree>>. All styles live in the Bigtop::ScriptHelp::Style:: namespace. The default style is 'Kickstart'.Each stye must implement "get_db_layout" which is the only method called by "Bigtop::ScriptHelp" methods. See below for what it receives and returns. METHODS
SUBCLASS METHODSAll subclasses should live in the Bigtop::ScriptHelp::Style:: namespace and implement one method:
Returns: a single hash reference with these keys:
AUTHORPhil Crow, <crow.phil@gmail.com>COPYRIGHT AND LICENSECopyright (C) 2007, Phil CrowThis library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.
Visit the GSP FreeBSD Man Page Interface. |