Subject: | run_help does not produce a summary via catch_smry |
(I already posted this to you via mail, but as people had problems with "nonexistent" online help, and I forgot that I patched my local version of Term::Shell, I'm posting the report here again)
The summary does not get filled for commands that are caught via a
catch_smry handler. The fix is to always call $o->summary(), and worry
later.
In sub summary :
#my $smry = exists $o->{handlers}{$h}{smry}
#? $o->summary($h)
#: "undocumented";
my $smry = $o->summary($h);
$smry = 'undocumented' unless defined $smry and length $smry;
The error happens under Perl 5.6.1 and Perl 5.8.