From: jackster the jackle Date: 2008-02-07T04:35:21+09:00 Subject: Getting SNMP data in variable instead of using puts I'm trying to access my variable directly here rather than using puts to print it out. Can anyone tell me the easiest way to access it from the variable? ipadd = ARGV[0] columns = ["ifDescr"] SNMP::Manager.open(:Host => ipadd, :Community => "877pricelineHOBO" ) do |m| m.walk(columns) { |row| puts row.join("\t") } end thanks jackster -- Posted via http://www.ruby-forum.com/.