ARGV-ENV

 view release on metacpan or  search on metacpan

lib/ARGV/ENV.pm  view on Meta::CPAN

    ...

=head1 DESCRIPTION

This module searches the first non-empty environment variable with one of the
names given at import time, parses it like the Unix shell (using
L<Text::ParseWords>::shellwords) and insert the result at the beginning of
C<@ARGV>.

This module is helpful to implement command-line scripts that take some
global config as an environnement variable containing command-line flags.

This module is named C<ARGV::ENV> (and not C<Argv::Env> or C<@ARGV::Env>)
because the perl built-in global variables C<@ARGV> and C<@ENV> are both in
upper case.

=head1 SEE ALSO

Some other modules that add magic to C<@ARGV>: L<ARGV::URL>, L<ARGV::Abs>,
L<ARGV::readonly>, L<Encode::Argv>.

=head1 AUTHOR

Olivier MenguE<eacute>, L<mailto:dolmen@cpan.org>.



( run in 0.526 second using v1.01-cache-2.11-cpan-49f99fa48dc )