RE: How to print like HEX string

2004-03-20 Thread Wagner, David --- Senior Programmer Analyst --- WGO
NetSnake wrote: > Hi,all: > I use Perl SNMP module to get server information, but I can not > print ethernet MAC address. > When I use snmpwalk or snmpget program, I get like this: > ifPhysAddress.2 = STRING: 0:e0:ac:b0:c2:1 . > But in Perl, I can not print this string, in consol, p

How to print like HEX string

2004-03-20 Thread NetSnake
Hi,all: I use Perl SNMP module to get server information, but I can not print ethernet MAC address. When I use snmpwalk or snmpget program, I get like this: ifPhysAddress.2 = STRING: 0:e0:ac:b0:c2:1 . But in Perl, I can not print this string, in consol, perl print 0 In