Class::Usul::TraitFor::DebugFlag - Handles the state of the debug flag
use Moo; extends 'Class::Usul'; with 'Class::Usul::TraitFor::DebugFlag';
Handles the state of the debug flag
Defines the following command line options;
D debug
Turn debugging on
n noask
Do not prompt to turn debugging on
Called just after the object is constructed this method handles prompting for the debug state if it is an interactive session. Also offers the option to quit
$cmd_line_option = $self->debug_flag
Returns the command line debug flag to match the current debug state
None
There are no known incompatibilities in this module
There are no known bugs in this module. Please report problems to http://rt.cpan.org/NoAuth/Bugs.html?Dist=Class-Usul. Patches are welcome
Larry Wall - For the Perl programming language
Peter Flanigan, <pjfl@cpan.org>
<pjfl@cpan.org>
Copyright (c) 2018 Peter Flanigan. All rights reserved
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic
This program is distributed in the hope that it will be useful, but WITHOUT WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE
To install Class::Usul, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Class::Usul
CPAN shell
perl -MCPAN -e shell install Class::Usul
For more information on module installation, please visit the detailed CPAN module installation guide.