I hope I'm explaining this right. I am including a package:
    use Net::Telnet::Cisco

that includes another package
     Net::Telnet

How do I call a method from Net::Telnet? Do I have the "use" it
explicitly?

When I try something like:
    $x = Net::Telnet::Cisco->new( Host => $_[0] );
    $fh = x->input_log('input.log');   #input_log from Net::Telnet

I get:

    Can't locate object method "input_log" via package "x" (perhaps you
forgot to load "x"?) at ./telnettest line 38.

Kevin



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to