gjandrews35
MIS
I am trying to convert dotted decimal strings
into their hex equivalent and vice versa...
For example
0.0.244.175.197.51 to
00.00.F4.AF.C5.33 or 0000f4afc533 or 00:00:F4:AF:C5:33
any ideas ? I know that you can print decimals
as hex with "%x"..
I am writing a perl program to map switch ports.
into their hex equivalent and vice versa...
For example
0.0.244.175.197.51 to
00.00.F4.AF.C5.33 or 0000f4afc533 or 00:00:F4:AF:C5:33
any ideas ? I know that you can print decimals
as hex with "%x"..
I am writing a perl program to map switch ports.