blib/lib/Devel/Trepan/CmdProcessor/Command/Set_Subcmd/Max.pm untested

filter: Statementstmt 0.0% 0 / 40 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 11 Podpod n/a totaltotal 0.0% 0 / 53 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 # -*- coding: utf-8 -*-
2 # Copyright (C) 2011-2014 Rocky Bernstein <rocky@cpan.org>
3 use warnings; no warnings 'redefine'; no warnings 'once';
4 use rlib '../../../../..';
5 use strict;
6 use vars qw(@ISA @SUBCMD_VARS);
7  
8 package Devel::Trepan::CmdProcessor::Command::Set::Max;
9  
10 use Devel::Trepan::CmdProcessor::Command::Subcmd::Core;
11 use Devel::Trepan::CmdProcessor::Command::Subcmd::SubsubMgr;
12 use vars qw(@ISA @SUBCMD_VARS);
13 our $MIN_ABBREV = length('ma');
14 =pod
15  
16 =head2 Synopsis:
17  
18 =cut
19  
20 our $HELP = <<"HELP";
21 =pod
22  
23 B<set max> I<set max subcommands>
24  
25 Set maximum length for things which may have unbounded size.
26  
27 Run C<help set max *> for a list of subcommands or C<help set max I<name>>
28 for help on a particular max setting.
29  
30 =head2 See also:
31  
32 L<C<show max>|Devel::Trepan::CmdProcessor::Command::Show::Max>
33  
34 =cut
35 HELP
36  
37 our $SHORT_HELP = "Set maximum length sizes of various things";
38  
39 @ISA = qw(Devel::Trepan::CmdProcessor::Command::SubsubcmdMgr);
40  
41 unless (caller) {
42 # Demo it.
43 require Devel::Trepan::CmdProcessor::Mock;
44 my ($proc, $cmd) =
45 Devel::Trepan::CmdProcessor::Mock::subcmd_setup();
46 Devel::Trepan::CmdProcessor::Mock::subcmd_demo_bool($proc, $cmd);
47 require Devel::Trepan;
48 }
49  
50 1;