From: jackster the jackle Date: 2008-01-12T05:42:11+09:00 Subject: Trying to squeeze a variable in here => ... Hi Ruby... I have an SNMP command that I'm using which works fine in my script: There is a static portion that needs to be changed so I can feed in the variable and it's a bit tricky. I have tried every combination of " " and ' ' that I can think of and nothing works. Here is the line of code that works: response = m.get (["ifInOctets.1"]) The number "1" in the above piece of code needs to be changed to a variable. Any ideas on how to squeeze a variable in there? thanks jackster.mobi -- Posted via http://www.ruby-forum.com/.