Stem::Switch has several functions:
new msg_in data_in map_cmd info_cmd status_cmd
new creates a new Stem::Switch object, parsing $attr_spec and any arguments passed to it.
It returns the new object.
To install Stem, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Stem
CPAN shell
perl -MCPAN -e shell install Stem
For more information on module installation, please visit the detailed CPAN module installation guide.