use Regexp::Common; $ip =~ s( ^$RE{net}{IPv4}{hex}{-sep=>''}{-keep}$ ){ join '.', map { hex } $2, $3, $4, $5 }xe;
In reply to Re: Converting an IP from hexadecimal to dotted-quad
by Abigail-II
in thread Converting an IP from hexadecimal to dotted-quad
by cpc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |