in reply to Net::Telnet::Cisco Updating Configuration

You can just use 'exit' instead of of a CTRL-Z.
sub update_router_config { if( $cisco->enable("$enable_password")){ $cisco->cmd("config t"); # enter new configuration $cisco->put("$conf"); # send new data for config $cisco->cmd("exit"); # end new data $cisco->cmd("copy run start"); # enable new config } }
-Vlad