#!perl

our $DATE = '2016-11-01'; # DATE
our $VERSION = '0.002'; # VERSION

use strict;
use warnings;
use Data::Dmp;

for my $i (0..$#ARGV) {
    printf "%d\t%s\n", $i, dmp($ARGV[$i]);
}

# ABSTRACT: Print command-line arguments
# PODNAME: print-argv

__END__

=pod

=encoding UTF-8

=head1 NAME

print-argv - Print command-line arguments

=head1 VERSION

This document describes version 0.002 of print-argv (from Perl distribution App-CLITestUtils), released on 2016-11-01.

=head1 SYNOPSIS

 % print-argv 1 "2 3" ~/foo.txt $UID "`ls`" "$UNKNOWN"
 0       1
 1       "2 3"
 2       "/home/ujang/foo.txt"
 3       1000
 4       "file1\nfile2\nfile3"
 5       ""

=head1 DESCRIPTION

Will print command-line arguments encoded as Perl string literals, prefixed with
index.

=head1 HOMEPAGE

Please visit the project's homepage at L<https://metacpan.org/release/App-CLITestUtils>.

=head1 SOURCE

Source repository is at L<https://github.com/perlancar/perl-App-CLITestUtils>.

=head1 BUGS

Please report any bugs or feature requests on the bugtracker website L<https://rt.cpan.org/Public/Dist/Display.html?Name=App-CLITestUtils>

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<print-argv-utf8>

=head1 AUTHOR

perlancar <perlancar@cpan.org>

=head1 COPYRIGHT AND LICENSE

This software is copyright (c) 2016 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