| 1 | 5 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | 5 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | |||
| 4 | package Footprintless::App::Command::log; | ||
| 5 | 5 | $Footprintless::App::Command::log::VERSION = '1.29'; | |
| 6 | # ABSTRACT: Provides access to log files. | ||
| 7 | # PODNAME: Footprintless::App::Command::log | ||
| 8 | |||
| 9 | 5 | ▶ | use parent qw(Footprintless::App::ActionCommand); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | |||
| 11 | 4 | ▶ | sub _actions { |
|
Subroutine
_actions: called CC=1 SCAR=0.0
| |||
| 12 | return ( | ||
| 13 | 4 | 'cat' => 'Footprintless::App::Command::log::cat', | |
| 14 | 'follow' => 'Footprintless::App::Command::log::follow', | ||
| 15 | 'grep' => 'Footprintless::App::Command::log::grep', | ||
| 16 | 'head' => 'Footprintless::App::Command::log::head', | ||
| 17 | 'tail' => 'Footprintless::App::Command::log::tail' | ||
| 18 | ); | ||
| 19 | } | ||
| 20 | |||
| 21 | 0 | ▶ | sub _default_action { |
|
Subroutine
_default_action: not called CC=1 SCAR=6.9
| |||
| 22 | 0 | return 'follow'; | |
| 23 | } | ||
| 24 | |||
| 25 | 4 | ▶ | sub usage_desc { |
|
Subroutine
usage_desc: called CC=1 SCAR=0.0
Pod
documented
| |||
| 26 | 4 | return "fpl log LOG_COORD ACTION %o"; | |
| 27 | } | ||
| 28 | |||
| 29 | 5 | 1; | |
| 30 | |||
| 31 | __END__ | ||