| 1 | package Enbld::Command::Intro; | ||
| 2 | |||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | |||
| 6 | use parent qw/Enbld::Command/; | ||
| 7 | |||
| 8 | sub do { | ||
| 9 | |||
| 10 | my $module_path = $INC{'Enbld/Command.pm'}; | ||
| 11 | $module_path =~ s{/Command\.pm$}{}; | ||
| 12 | |||
| 13 | my $path = $module_path . '.pm'; | ||
| 14 | |||
| 15 | system ( 'perldoc', $path ); | ||
| 16 | |||
| 17 | return $_[0]; | ||
| 18 | } | ||
| 19 | |||
| 20 | 1; |