Re: Function to pass a variable to numeric value

2003-03-14 Thread Rob Dixon
Hi Ruben Ruben Montes wrote: > Hello, > I'm working with Net::SNMP and I need to consult an OID. The last > number of the OID is a variable and I want to make a get of this OID, > but the debugger says it's not a numeric value... > > $i=1 > while($i<4){ > my $descr ='1.3.6.1.2.1.2.2.1.2.($i)'; > .

Re: Function to pass a variable to numeric value

2003-03-14 Thread John W. Krahn
Ruben Montes wrote: > > Hello, Hello, > I'm working with Net::SNMP and I need to consult an OID. The last number of > the OID is a variable and I want to make a get of this OID, but the debugger > says it's not a numeric value... > > $i=1 > while($i<4){ If you want to loop thro