Thanks dasgar!
You inadvertently forced me to reveal my XY Problem. I have a script that does Net::Telnet::Cisco and I'm trying to add SSH access. While I can get Net::SSH2 to connect to a Cisco router and do what I want, the methods / accessors are all different than in N::T::C, forcing me to have two separate subs rather than an if/then creating a Telnet or SSH object. I thought I'd write a Net::SSH2::Cisco with a similar interface to N::T::C to help - thus my question about adding (N::T::C-like) attributes to the Net::SSH2 returned object.
Control::CLI looks to have taken the other approach by creating a parent module for both (and more). I'll give it a look!
In reply to Re^2: Child Net::SSH2 object trouble
by VinsWorldcom
in thread Child Net::SSH2 object trouble
by VinsWorldcom
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |