Lines Matching full:getopt
12 use Getopt::Std;
16 # First we test the getopt function
18 getopt('f');
25 getopt 'il', \%opt;
91 getopt('bc', \%opt);
94 "getopt: multiple switches; switch expected argument, none provided; value undef");
100 getopt('c', \%opt);
103 "getopt: single switch; switch expected argument, none provided; value undef");
107 # GH21466: Test `\my %opt` syntax with getopt()
111 getopt('bc', \my %opt);
114 "getopt (scoped): multiple switches; switch expected argument, none provided; value undef");