Help for this page
use strict; use warnings; ... map {sprintf "%03d.%03d.%03d.%03d", split /\./} @ips; print join "\n", @ips;
12.45.67.180 12.145.66.20 12.245.67.1 123.156.89.12