|
|
| We don't bite newbies here... much | |
| PerlMonks |
Re: How to create a DNS message in perl?by busunsl (Vicar) |
| on Jul 29, 2008 at 08:10 UTC ( #700747=note: print w/ replies, xml ) | Need Help?? |
|
Use the unpack funtion to convert the name to hex: $QNAME = unpack("H*", "www.google.com") For more read: perldoc -f unpack
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||