Help for this page

Select Code to Download


  1. or download this
     #!/usr/bin/perl
    
    ...
     my $netaddr = inet_aton( '172.16.249.232' );
     print "net_addr:", $netaddr, "\n";
     printf "net_addrHex:%x\n", $netaddr;
    
  2. or download this
    net_addr:▒▒▒
    Argument "▒^P▒▒" isn't numeric in printf at /foo.pl 
    +line 10.
    net_addrHex:0