in reply to Re^4: regex in perl
in thread regex in perl
"select primary_ip from buddy_vips where machineIP=$vip"
$row->{machineIP} =~ /(\d+\.\d+\.\d+\.\d+)/
How to you expect machineIP to magically appear in the result of the SELECT statement? You only select primary_ip.
Alexander
|
|---|