ARGV-OrDATA
view release on metacpan or search on metacpan
SYNOPSIS
use ARGV::OrDATA;
while (<>) {
print;
}
__DATA__
You'll see this if you don't redirect something to the script's
STDIN or you don't specify a filename on the command line.
INSTALLATION
To install this module, run the following commands:
perl Makefile.PL
make
make test
make install
SUPPORT AND DOCUMENTATION
After installing, you can find documentation for this module with the
perldoc command.
perldoc ARGV::OrDATA
You can also look for information at:
MetaCPAN
https://metacpan.org/pod/ARGV::OrDATA
GitHub, the distribution's git repository (inludes issues)
http://github.com/choroba/argv-ordata
lib/ARGV/OrDATA.pm view on Meta::CPAN
=head1 SYNOPSIS
use ARGV::OrDATA;
while (<>) {
print;
}
__DATA__
You'll see this if you don't redirect something to the script's
STDIN or you don't specify a filename on the command line.
=head1 DESCRIPTION
Tell your script it should use the DATA section if there's no input
coming from STDIN and there are no arguments.
You can also specify which package's DATA should be read instead of
the caller's:
use My::Module;
lib/ARGV/OrDATA.pm view on Meta::CPAN
E. Choroba, C<< <choroba at cpan.org> >>
=head1 BUGS
Please report any bugs or feature requests to the GitHub repository at
L<https://github.com/choroba/argv-ordata>.
=head1 SUPPORT
You can find documentation for this module with the perldoc command.
perldoc ARGV::OrDATA
You can also look for information at:
=over 4
=item * MetaCPAN
( run in 0.724 second using v1.01-cache-2.11-cpan-d8267643d1d )