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

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)