| 1 | package Lab::Generic::CLOptions; | ||||||||||
| 2 | 9 | $Lab::Generic::CLOptions::VERSION = '3.881'; | |||||||||
| 3 | #ABSTRACT: Global command line option processing | ||||||||||
| 4 | |||||||||||
| 5 | 9 | ▶ | use v5.20; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | |||||||||||
| 7 | 9 | ▶ | use Getopt::Long qw/:config pass_through/; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 8 | |||||||||||
| 9 | 9 | our $DEBUG = 0; | |||||||||
| 10 | 9 | our $IO_INTERFACE = undef; | |||||||||
| 11 | |||||||||||
| 12 | 9 | ▶ | GetOptions( | ||||||||
|
Branch: 1 branch
| |||||||||||
| 13 | "debug|d" => \$DEBUG, | ||||||||||
| 14 | "terminal|t=s" => \$IO_INTERFACE | ||||||||||
| 15 | ) or die "error in CLOptions"; | ||||||||||
| 16 | |||||||||||
| 17 | 9 | 1; | |||||||||
| 18 | |||||||||||
| 19 | __END__ | ||||||||||
| 20 | |||||||||||
| 21 | =pod | ||||||||||
| 22 | |||||||||||
| 23 | =encoding UTF-8 | ||||||||||
| 24 | |||||||||||
| 25 | =head1 NAME | ||||||||||
| 26 | |||||||||||
| 27 | Lab::Generic::CLOptions - Global command line option processing | ||||||||||
| 28 | |||||||||||
| 29 | =head1 VERSION | ||||||||||
| 30 | |||||||||||
| 31 | version 3.881 | ||||||||||
| 32 | |||||||||||
| 33 | =head1 COPYRIGHT AND LICENSE | ||||||||||
| 34 | |||||||||||
| 35 | This software is copyright (c) 2023 by the Lab::Measurement team; in detail: | ||||||||||
| 36 | |||||||||||
| 37 | Copyright 2014 Andreas K. Huettel | ||||||||||
| 38 | 2015 Christian Butschkow | ||||||||||
| 39 | 2016 Simon Reinhardt | ||||||||||
| 40 | 2017 Andreas K. Huettel | ||||||||||
| 41 | 2019 Simon Reinhardt | ||||||||||
| 42 | 2020 Andreas K. Huettel | ||||||||||
| 43 | |||||||||||
| 44 | |||||||||||
| 45 | This is free software; you can redistribute it and/or modify it under | ||||||||||
| 46 | the same terms as the Perl 5 programming language system itself. | ||||||||||
| 47 | |||||||||||
| 48 | =cut | ||||||||||