-
-
24 Nov 2021 07:21:26 UTC
- Distribution: App-Greple
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues
- Testers (202 / 0 / 11)
- Kwalitee
Bus factor: 1- 25.79% Coverage
- License: perl_5
- Perl: v5.14.0
- Activity
24 month- Tools
- Download (85.89KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 3 contributors-
Kazumasa Utashiro
-
Mohammad S Anwar
-
Toshifumi Sakaguchi
NAME
debug - Greple module for debug control
SYNOPSIS
greple -dmc
greple -Mdebug
greple -Mdebug::on(getoptex)
greple -Mdebug::on=getoptex
DESCRIPTION
Enable debug mode for specified target. Currently, following targets are available.
getoptex Getopt::EX getopt Getopt::Long color -dc Color information directory -dd Change directory information file -df Show search file names number -dn Show number of processing files misc -dm Pattern and other information option -do Show command option processing process -dp Exec ps command before exit stat -ds Show statistic information grep -dg Show grep internal state unused -du Show unused 1-char option name
When used without function call, default target is enabled; currently
getoptex
andoption
.$ greple -Mdebug
Specify required target with
on
function like:$ greple -Mdebug::on(color,misc,option) $ greple -Mdebug::on=color,misc,option
Calling
debug::on=all
enables all targets, exceptunused
andnumber
.Target name marked with
-dx
can be enabled in that form. Following commands are all equivalent.$ greple -Mdebug::on=color,misc,option $ greple -dc -dm -do $ greple -dcmo
EXAMPLE
Next command will show how the module option is processed in Getopt::EX module.
$ greple -Mdebug::on=getoptex,option -Mdig something --dig .
Module Install Instructions
To install App::Greple, copy and paste the appropriate command in to your terminal.
cpanm App::Greple
perl -MCPAN -e shell install App::Greple
For more information on module installation, please visit the detailed CPAN module installation guide.