Class::Usul::TraitFor::UntaintedGetopts - Untaints @ARGV before Getopts processes it
use Moo; with 'Class::Usul::TraitFor::UntaintedGetopts';
Untaints @ARGV before Getopts processes it. Replaces MooX::Options with an implementation closer to MooseX::Getopt::Dashes
@ARGV
Modifies new_with_options and options_usage
new_with_options
options_usage
Returns an array ref containing the remaining command line arguments
Parses the command line options and then calls the constructor
Returns the next value from "extra_argv" shifting the value off the list
Returns the options usage string
Untaints the values of the @ARGV array before the are parsed by Getopt::Long::Descriptive
Pushes the supplied argument back onto the extra_argv list
extra_argv
Returns all of the arguments passed, untainted, before Getopt::Long parses them
None
There are no known incompatibilities in this module
There are no known bugs in this module. Please report problems to the address below. 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.