http://www.perlmonks.org?node_id=580176


in reply to Seeking examples of using Ethernet-related modules

The following nodes may be of use:

 

perl -le "print unpack'N', pack'B32', '00000000000000000000001000000000'"