Re: Problems with format

2003-03-18 Thread Rob Dixon
Ruben Montes wrote: > Hello, > my code is designed to write 4 columns but it only writes the first > one. Can anybody help me? > > while($i<=$number){ > >$if="1.3.6.1.2.1.2.2.1.2.$i"; >my $name = $session->get_request( -varbindlist => [$if]); >chomp($name->{$if}); > >my $ifoperstat=

Problems with format

2003-03-18 Thread Ruben Montes
Sorry, this is the output: Num InterfaceType OperStatus AdminStatus === 1 2 3 4 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Problems with format

2003-03-18 Thread Ruben Montes
Hello, my code is designed to write 4 columns but it only writes the first one. Can anybody help me? while($i<=$number){ $if="1.3.6.1.2.1.2.2.1.2.$i"; my $name = $session->get_request( -varbindlist => [$if]); chomp($name->{$if}); my $ifoperstat="1.3.6.1.2.1.2.2.1.8.$i"; my $op