| 1 |
#!perl |
| 2 |
use strict; |
| 3 |
use warnings; |
| 4 |
# PODNAME: reply |
| 5 |
# ABSTRACT: read, eval, print, loop, yay! |
| 6 |
|
| 7 |
use Reply::App; |
| 8 |
|
| 9 |
|
| 10 |
exit(Reply::App->new->run(@ARGV)); |
| 11 |
|
| 12 |
__END__ |
| 13 |
|
| 14 |
=pod |
| 15 |
|
| 16 |
=encoding UTF-8 |
| 17 |
|
| 18 |
=head1 NAME |
| 19 |
|
| 20 |
reply - read, eval, print, loop, yay! |
| 21 |
|
| 22 |
=head1 VERSION |
| 23 |
|
| 24 |
version 0.42 |
| 25 |
|
| 26 |
=head1 SYNOPSIS |
| 27 |
|
| 28 |
reply [-lb] [-I dir] [-M mod] [--version] [--help] [--cfg file] |
| 29 |
|
| 30 |
=head1 DESCRIPTION |
| 31 |
|
| 32 |
This script runs the L<Reply> shell. It looks for a configuration file in |
| 33 |
C<.replyrc> in your home directory, and will generate a basic configuration for |
| 34 |
you if that file does not exist. |
| 35 |
|
| 36 |
See the L<Reply> documentation for more information about using and configuring |
| 37 |
this program. |
| 38 |
|
| 39 |
=head1 OPTIONS |
| 40 |
|
| 41 |
reply takes these command line options: |
| 42 |
|
| 43 |
=over 4 |
| 44 |
|
| 45 |
=item -I lib |
| 46 |
|
| 47 |
Adds the given directory to C<@INC>. |
| 48 |
|
| 49 |
=item -l |
| 50 |
|
| 51 |
Equivalent to C<-I lib>. |
| 52 |
|
| 53 |
=item -b |
| 54 |
|
| 55 |
Equivalent to C<-I blib/lib -I blib/arch>. |
| 56 |
|
| 57 |
=item -M Carp::Always |
| 58 |
|
| 59 |
Loads the specified module before starting the repl. It is loaded within the |
| 60 |
repl, so things like exporting work properly. |
| 61 |
|
| 62 |
=item --cfg ~/.replyrc |
| 63 |
|
| 64 |
Specifies a different configuration file to use. C<~/.replyrc> is the default. |
| 65 |
|
| 66 |
=item --version |
| 67 |
|
| 68 |
Displays the program version. |
| 69 |
|
| 70 |
=item --help |
| 71 |
|
| 72 |
Displays usage information. |
| 73 |
|
| 74 |
=back |
| 75 |
|
| 76 |
=head1 AUTHOR |
| 77 |
|
| 78 |
Jesse Luehrs <[email protected]> |
| 79 |
|
| 80 |
=head1 COPYRIGHT AND LICENSE |
| 81 |
|
| 82 |
This software is Copyright (c) 2016 by Jesse Luehrs. |
| 83 |
|
| 84 |
This is free software, licensed under: |
| 85 |
|
| 86 |
The MIT (X11) License |
| 87 |
|
| 88 |
=cut |