Sorry people.. it is python.... not perl... is there a way to change the title?
I am new to perl language. I have a string.
I want to get the PBot id number (1D)
It is a hex number. I want to convert it to a decimal number and print it.
data = "iwconfig ath0 essid PBot_1D channel 4955M"
pbot_id = # I need help on this one...
print "PBot ID is", pbot_id