use NetAddr::IP; print join(' ', NetAddr::IP->new('10.0.0.0/25')->wildcard());