| line | stmt | bran | cond | sub | pod | time | code | 
| 1 |  |  |  |  |  |  | package App::JobLog::Command::today; | 
| 2 |  |  |  |  |  |  | $App::JobLog::Command::today::VERSION = '1.040'; | 
| 3 |  |  |  |  |  |  | # ABSTRACT: show what has happened today | 
| 4 |  |  |  |  |  |  |  | 
| 5 | 2 |  |  | 2 |  | 1597 | use App::JobLog -command; | 
|  | 2 |  |  |  |  | 4 |  | 
|  | 2 |  |  |  |  | 14 |  | 
| 6 | 2 |  |  | 2 |  | 730 | use Modern::Perl; | 
|  | 2 |  |  |  |  | 3 |  | 
|  | 2 |  |  |  |  | 13 |  | 
| 7 | 2 |  |  | 2 |  | 212 | use App::JobLog::Command::summary; | 
|  | 2 |  |  |  |  | 2 |  | 
|  | 2 |  |  |  |  | 29 |  | 
| 8 | 2 |  |  | 2 |  | 52 | use autouse 'App::JobLog::Time' => qw(now); | 
|  | 2 |  |  |  |  | 4 |  | 
|  | 2 |  |  |  |  | 11 |  | 
| 9 |  |  |  |  |  |  |  | 
| 10 | 2 |  |  | 2 |  | 164 | use constant FORMAT => '%l:%M:%S %p on %A, %B %d, %Y'; | 
|  | 2 |  |  |  |  | 4 |  | 
|  | 2 |  |  |  |  | 482 |  | 
| 11 |  |  |  |  |  |  |  | 
| 12 |  |  |  |  |  |  | sub execute { | 
| 13 | 0 |  |  | 0 | 1 |  | my ( $self, $opt, $args ) = @_; | 
| 14 | 0 |  |  |  |  |  | $self->simple_command_check($args); | 
| 15 |  |  |  |  |  |  |  | 
| 16 |  |  |  |  |  |  | # display everything done today | 
| 17 | 0 |  |  |  |  |  | App::JobLog::Command::summary->execute( $opt, ['today'] ); | 
| 18 |  |  |  |  |  |  | } | 
| 19 |  |  |  |  |  |  |  | 
| 20 | 0 |  |  | 0 | 1 |  | sub usage_desc { '%c ' . __PACKAGE__->name . ' %o' } | 
| 21 |  |  |  |  |  |  |  | 
| 22 | 0 |  |  | 0 | 1 |  | sub abstract { 'what has happened today' } | 
| 23 |  |  |  |  |  |  |  | 
| 24 |  |  |  |  |  |  | sub full_description { | 
| 25 | 0 |  |  | 0 | 0 |  | < | 
| 26 |  |  |  |  |  |  | List what has happened today. | 
| 27 |  |  |  |  |  |  |  | 
| 28 | 0 |  |  |  |  |  | This is basically a specialized variant of the @{[App::JobLog::Command::summary->name]} command. | 
| 29 |  |  |  |  |  |  | END | 
| 30 |  |  |  |  |  |  | } | 
| 31 |  |  |  |  |  |  |  | 
| 32 |  |  |  |  |  |  | 1; | 
| 33 |  |  |  |  |  |  |  | 
| 34 |  |  |  |  |  |  | __END__ |