in reply to Re: Re: Net::Telnet::Cisco usage
in thread Net::Telnet::Cisco usage

chomp() was the other thing you missed. It may or may not make a difference in this case but lines from files have newlines that you typically don't want.....

cheers

tachyon