in reply to
Re: IP to hex translator
in thread
IP to hex translator
perl -e "print unpack('H*', pack('C*', split ('\.', '127.0.0.1')))"
Or (whithout brackets)
perl -e "print unpack 'H*', pack 'C*', split '\.', '127.0.0.1'"
Comment on
Re^2: IP to hex translator
Select
or
Download
Code
In Section
Cool Uses for Perl