App-ZodiacUtils
view release on metacpan or search on metacpan
script/_zodiac-of view on Meta::CPAN
This document describes version 0.115 of Perinci::CmdLine::Base (from Perl distribution App-ZodiacUtils), released on 2020-09-14.
=head1 HOMEPAGE
Please visit the project's homepage at L<https://metacpan.org/release/App-ZodiacUtils>.
=head1 SOURCE
Source repository is at L<https://github.com/perlancar/perl-App-ZodiacUtils>.
=head1 BUGS
Please report any bugs or feature requests on the bugtracker website L<https://rt.cpan.org/Public/Dist/Display.html?Name=App-ZodiacUtils>
When submitting a bug or request, please include a test-file or a
patch to an existing test-file that illustrates the bug or desired
feature.
=head1 AUTHOR
perlancar <perlancar@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2020, 2019, 2016, 2015 by perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut
__DATA__
Data::Section::Seekable v1
Clone/PP.pm,20,6331,0;0
Complete/Bash.pm,6376,39632,1;193
Complete/Common.pm,46035,6507,2;1432
Complete/Env.pm,52566,5656,3;1628
Complete/File.pm,58247,14391,4;1886
Complete/Getopt/Long.pm,72670,36047,5;2353
Complete/Path.pm,108742,13757,6;3338
Complete/Sah.pm,122523,16328,7;3755
Complete/Tcsh.pm,138876,6850,8;4197
Complete/Util.pm,145751,40883,9;4453
Data/Clean.pm,186656,17013,10;5871
Data/Clean/ForJSON.pm,203699,8992,11;6443
Data/Clean/FromJSON.pm,212722,3100,12;6736
Data/Dmp.pm,215842,13835,13;6860
Data/ModeMerge.pm,229703,26971,14;7309
Data/ModeMerge/Config.pm,256707,14454,15;8094
Data/ModeMerge/Mode/ADD.pm,271196,2657,16;8618
Data/ModeMerge/Mode/Base.pm,273889,22041,17;8738
Data/ModeMerge/Mode/CONCAT.pm,295968,1741,18;9411
Data/ModeMerge/Mode/DELETE.pm,297747,2738,19;9490
Data/ModeMerge/Mode/KEEP.pm,300521,2463,20;9620
Data/ModeMerge/Mode/NORMAL.pm,303022,2800,21;9739
Data/ModeMerge/Mode/SUBTRACT.pm,305862,3373,22;9883
Data/Sah/Normalize.pm,309265,9038,23;10026
Data/Sah/Resolve.pm,318331,7505,24;10300
Data/Sah/Util/Type.pm,325866,9456,25;10539
Function/Fallback/CoreOrPP.pm,335360,5030,26;10839
Getopt/Long/Negate/EN.pm,340423,5332,27;11034
Getopt/Long/Util.pm,345783,17134,28;11183
Lingua/EN/PluralToSingular.pm,362955,14259,29;11813
Log/ger.pm,377233,11278,30;12560
Log/ger/Filter.pm,388537,1149,31;12905
Log/ger/Filter/Code.pm,389717,1395,32;12971
Log/ger/Format.pm,391138,1293,33;13053
Log/ger/Format/Default.pm,392465,3299,34;13126
Log/ger/Format/None.pm,395795,1269,35;13244
Log/ger/Heavy.pm,397089,18144,36;13311
Log/ger/Layout.pm,415259,1229,37;13712
Log/ger/Output.pm,416514,1358,38;13780
Log/ger/Output/Array.pm,417904,1585,39;13859
Log/ger/Output/Null.pm,419520,1273,40;13945
Log/ger/Output/String.pm,420826,2305,41;14013
Log/ger/Plugin.pm,423157,2038,42;14118
Log/ger/Plugin/MultilevelLog.pm,425235,5006,43;14233
Log/ger/Util.pm,430265,10231,44;14412
Mo.pm,440510,591,45;14740
Mo/Golf.pm,441120,8174,46;14744
Mo/Inline.pm,449315,3471,47;14980
Mo/Moose.pm,452806,533,48;15121
Mo/Mouse.pm,453359,563,49;15126
Mo/build.pm,453942,248,50;15131
Mo/builder.pm,454212,338,51;15135
Mo/chain.pm,454570,216,52;15139
Mo/coerce.pm,454807,330,53;15143
Mo/default.pm,455159,435,54;15147
Mo/exporter.pm,455617,176,55;15151
Mo/import.pm,455814,185,56;15155
Mo/importer.pm,456022,207,57;15159
Mo/is.pm,456246,228,58;15163
Mo/nonlazy.pm,456496,129,59;15167
Mo/option.pm,456646,259,60;15171
Mo/required.pm,456928,340,61;15175
Mo/xs.pm,457285,256,62;15179
Module/Installed/Tiny.pm,457574,7196,63;15183
Perinci/Sub/Complete.pm,464802,55886,64;15418
Perinci/Sub/GetArgs/Argv.pm,520724,55430,65;17015
Perinci/Sub/GetArgs/Array.pm,576191,7479,66;18508
Perinci/Sub/Normalize.pm,583703,7303,67;18768
Perinci/Sub/Util.pm,591034,21083,68;19003
Perinci/Sub/Util/Args.pm,612150,6274,69;19764
Perinci/Sub/Util/ResObj.pm,618459,1545,70;20018
Perinci/Sub/Util/Sort.pm,620037,1957,71;20079
Regexp/Stringify.pm,622022,5418,72;20170
Sah/Schema/rinci/function_meta.pm,627482,7126,73;20367
Sah/Schema/rinci/meta.pm,634641,3699,74;20633
Sah/Schema/rinci/result_meta.pm,638380,3586,75;20797
Sah/SchemaR/rinci/function_meta.pm,642009,6238,76;20952
Sah/SchemaR/rinci/meta.pm,648281,3012,77;21010
Sah/SchemaR/rinci/result_meta.pm,651334,2346,78;21068
Sah/Schemas/Rinci.pm,653709,1286,79;21126
String/LineNumber.pm,655024,2512,80;21182
String/PerlQuote.pm,657564,3383,81;21300
String/Wildcard/Bash.pm,660979,9637,82;21425
YAML/Old.pm,670636,3321,83;21755
YAML/Old/Dumper.pm,673984,17730,84;21872
YAML/Old/Dumper/Base.pm,691746,3735,85;22449
YAML/Old/Error.pm,695507,5985,86;22560
YAML/Old/Loader.pm,701519,25286,87;22751
script/_zodiac-of view on Meta::CPAN
#
#=item * B<output_name> => I<str>
#
#Where to install the modified sub.
#
#Subroutine will be put in the specified name. If the name is not qualified with
#package name, will use caller's package. If no C<output_code> is specified, the
#base subroutine reference will be assigned here.
#
#Note that this argument is optional.
#
#=item * B<remove_args> => I<array>
#
#List of arguments to remove.
#
#=item * B<rename_args> => I<hash>
#
#Arguments to rename.
#
#=item * B<replace_args> => I<hash>
#
#Arguments to add.
#
#=item * B<summary> => I<str>
#
#Summary for the mod subroutine.
#
#=back
#
#Returns an enveloped result (an array).
#
#First element (status) is an integer containing HTTP status code
#(200 means OK, 4xx caller error, 5xx function error). Second element
#(msg) is a string containing error message, or 'OK' if status is
#200. Third element (result) is optional, the actual result. Fourth
#element (meta) is called result metadata and is optional, a hash
#that contains extra information.
#
#Return value: (hash)
#
#=head2 caller([ $n ])
#
#Just like Perl's builtin caller(), except that this one will ignore wrapper code
#in the call stack. You should use this if your code is potentially wrapped. See
#L<Perinci::Sub::Wrapper> for more details.
#
#=head2 err(...) => ARRAY
#
#Experimental.
#
#Generate an enveloped error response (see L<Rinci::function>). Can accept
#arguments in an unordered fashion, by utilizing the fact that status codes are
#always integers, messages are strings, result metadata are hashes, and previous
#error responses are arrays. Error responses also seldom contain actual result.
#Status code defaults to 500, status message will default to "FUNC failed". This
#function will also fill the information in the C<logs> result metadata.
#
#Examples:
#
# err(); # => [500, "FUNC failed", undef, {...}];
# err(404); # => [404, "FUNC failed", undef, {...}];
# err(404, "Not found"); # => [404, "Not found", ...]
# err("Not found", 404); # => [404, "Not found", ...]; # order doesn't matter
# err([404, "Prev error"]); # => [500, "FUNC failed", undef,
# # {logs=>[...], prev=>[404, "Prev error"]}]
#
#Will put C<stack_trace> in logs only if C<Carp::Always> module is loaded.
#
#=head2 warn_err(...)
#
#This is a shortcut for:
#
# $res = err(...);
# warn "ERROR $res->[0]: $res->[1]";
#
#=head2 die_err(...)
#
#This is a shortcut for:
#
# $res = err(...);
# die "ERROR $res->[0]: $res->[1]";
#
#=head1 FAQ
#
#=head2 What if I want to put result ($res->[2]) into my result with err()?
#
#You can do something like this:
#
# my $err = err(...) if ERROR_CONDITION;
# $err->[2] = SOME_RESULT;
# return $err;
#
#=head1 HOMEPAGE
#
#Please visit the project's homepage at L<https://metacpan.org/release/Perinci-Sub-Util>.
#
#=head1 SOURCE
#
#Source repository is at L<https://github.com/sharyanto/perl-Perinci-Sub-Util>.
#
#=head1 BUGS
#
#Please report any bugs or feature requests on the bugtracker website L<https://rt.cpan.org/Public/Dist/Display.html?Name=Perinci-Sub-Util>
#
#When submitting a bug or request, please include a test-file or a
#patch to an existing test-file that illustrates the bug or desired
#feature.
#
#=head1 SEE ALSO
#
#L<Perinci>
#
#=head1 AUTHOR
#
#perlancar <perlancar@cpan.org>
#
#=head1 COPYRIGHT AND LICENSE
#
#This software is copyright (c) 2017 by perlancar@cpan.org.
#
#This is free software; you can redistribute it and/or modify it under
#the same terms as the Perl 5 programming language system itself.
#
#=cut
### Perinci/Sub/Util/Args.pm ###
( run in 0.847 second using v1.01-cache-2.11-cpan-75ffa21a3d4 )