my $cmdoutput = `snmpwalk blah blah blah | tail -1`; my $snmpval = substr( $cmdoutput, 54, 10 );