App-PerlShell
view release on metacpan or search on metacpan
1.04 Thu May 3 14:05:00 2018
- AddOn => Plugin
- Fixed some POD mistakes and updated examples
- bin/plsh.pl SKIPVARS updated
1.03 Thu Apr 26 14:05:00 2018
- Added App::PerlShell::AddOn::Gnuplot from PPC::Plugin::Gnuplot
1.02 Wed Mar 21 14:05:00 2018
- Added App::PerlShell::AddOn::Macros from PPC::Macro
1.01 Thu Dec 7 14:05:00 2017
- Fixed failing tests for missing L::P and M::R.
1.00 Wed Dec 6 14:05:00 2017
- CPAN release.
0.10 Fri Nov 17 14:05:00 2017
- Changed name.
bin/plsh.pl
Changes
lib/App/PerlShell.pm
lib/App/PerlShell/Config.pm
lib/App/PerlShell/LexPersist.pm
lib/App/PerlShell/ModRefresh.pm
lib/App/PerlShell/Plugin/File.pm
lib/App/PerlShell/Plugin/Gnuplot.pm
lib/App/PerlShell/Plugin/Macros.pm
lib/App/PerlShell/Plugin/ShellCommands.pm
lib/App/PerlShell/Plugin/TextCSV.pm
lib/App/PerlShell/Plugin/TextTable.pm
Makefile.PL
MANIFEST
README
t/01-Config.t
t/01-LexPersist.t
t/01-ModRefresh.t
t/01-Shell.t
bin/plsh.pl view on Meta::CPAN
=pod
--help Print Options and Arguments.
--man Print complete man page.
--versions Print Modules, Perl, OS, Program info.
=head1 CONFIGURATION
An example '.plshrc' file.
use App::PerlShell::Plugin::Macros;
# do not require a semicolon to terminate each line
$ENV{PERLSHELL_SEMIOFF}=1;
# turn on feature 5.10 (use feature ':5.10';)
$ENV{PERLSHELL_FEATURE}=":5.10";
# override the `version` command
no warnings 'redefine'; *App::PerlShell::version = sub { print "MyVersion" }
=head1 ORDER
lib/App/PerlShell/Plugin/Macros.pm view on Meta::CPAN
package App::PerlShell::Plugin::Macros;
########################################################
# AUTHOR = Michael Vincent
# www.VinsWorld.com
########################################################
use strict;
use warnings;
use Pod::Usage;
use Pod::Find qw( pod_where );
use Exporter;
our @EXPORT = qw(
Macros
D2B
D2H
H2B
H2D
H2S
S2H
);
our @ISA = qw ( Exporter );
sub Macros {
pod2usage(
-verbose => 2,
-exitval => "NOEXIT",
-input => pod_where( {-inc => 1}, __PACKAGE__ )
);
}
########################################################
sub D2B {
lib/App/PerlShell/Plugin/Macros.pm view on Meta::CPAN
-input => pod_where( {-inc => 1}, __PACKAGE__ )
);
}
1;
__END__
=head1 NAME
Macros - Provides useful macros for conversions
=head1 SYNOPSIS
use App::PerlShell::Plugin::Macros;
=head1 DESCRIPTION
This module provides useful macros for conversions.
=head1 COMMANDS
=head2 Macros - provide help
Provides help.
=head1 MACROS
=head2 D2B - convert decimal number to binary
[$binary =] D2B "decimalNumber" [, padding]
Creates B<$binary> variable as binary representation of B<decimalNumber>.
t/02-pod-coverage.t view on Meta::CPAN
pod_coverage_ok("App::PerlShell");
pod_coverage_ok("App::PerlShell::Config");
if ( $HAVE_LP ) {
pod_coverage_ok("App::PerlShell::LexPersist");
}
if ( $HAVE_MR ) {
pod_coverage_ok("App::PerlShell::ModRefresh");
}
pod_coverage_ok("App::PerlShell::Plugin::File");
pod_coverage_ok("App::PerlShell::Plugin::Gnuplot");
pod_coverage_ok("App::PerlShell::Plugin::Macros");
pod_coverage_ok("App::PerlShell::Plugin::ShellCommands");
pod_coverage_ok("App::PerlShell::Plugin::TextCSV");
pod_coverage_ok("App::PerlShell::Plugin::TextTable");
( run in 0.708 second using v1.01-cache-2.11-cpan-49f99fa48dc )