There is an ongoing outage on the primary CPAN mirror. It is possible to work around the issue by using MetaCPAN as a mirror.

Stem::switch

Stem::Switch has several functions:

new 
msg_in 
data_in 
map_cmd 
info_cmd 
status_cmd 

new

new creates a new Stem::Switch object, parsing $attr_spec and any arguments passed to it.

It returns the new object.