This is not efficient. I am sure there must be elegant way to do this. some examples please..?
You could use unpack and join.
my $addr = join '.', unpack 'x25 C4', $pkt;
In reply to Re: Net::Pcap print ip address
by shmem
in thread Net::Pcap print ip address
by raj_paps
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |