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


in reply to Using (s)printf()

If found an interesting solution to a problem of ANDing 2 IPs
$anded = sprintf "%vd\n", 192.16.16.1 & 255.255.248.0;
How is %vd interpreted here
Ramprasad A Padmanabhan