in reply to pack() gives me "character wrapped" warnings
BrowserUk has answered your immediate question. Now, the best way to avoid that problem in your case would be
use Socket; my $binip = inet_aton( $src_ip );
See Don't Use Regular Expressions To Parse IP Addresses!
Makeshifts last the longest.
|
|---|