ARGV-Abs

 view release on metacpan or  search on metacpan

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

Resolve relative paths using base directory F</tmp>:

    perl -MARGV::Abs=/tmp -E "..." foo.txt bar.txt ...

    use ARGV::Abs '/tmp';

=head1 DESCRIPTION

This module transform all elements of C<@ARGV> into absolute pathnames.

Relative paths are resolved by default relative to the current directory.
To use another base directory, pass it as the argument for import.

=head1 SEE ALSO

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

=head1 AUTHOR

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



( run in 0.302 second using v1.01-cache-2.11-cpan-0a6323c29d9 )