Man pages sections > man3 > Command::Tree

Command::Tree -base class for commands which delegate to a list of sub-commands

Command::Tree(3pm) User Contributed Perl Documentation Command::Tree(3pm)

NAME

Command::Tree -base class for commands which delegate to a list of sub-commands

DESCRIPTION

# in Foo.pm class Foo { is => 'Command::Tree' };
# in Foo/Cmd1.pm class Foo::Cmd1 { is => 'Command' };
# in Foo/Cmd2.pm class Foo::Cmd2 { is => 'Command' };
# in the shell $ foo cmd1 cmd2 $ foo cmd1 $ foo cmd2
2016-10-31 perl v5.24.1