Sorry people.. it is python.... not perl... is there a way to change the title?
Hi,
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.
Thank you,
Code:
#!/usr/bin/python
data = "iwconfig ath0 essid PBot_1D channel 4955M"
pbot_id = # I need help on this one...
print "PBot ID is", pbot_id