http://www.perlmonks.org?node_id=706313


in reply to Re: Re: Re: "Useless use of private variable in void context"
in thread "Useless use of private variable in void context"

it must be somewhere else in the code. I got the same error in the following line chop($fai_in) if(length($fai_in) > 0); when I comment this line got the error in next line. The problem was however was in the following line which missed the brackets while($cust_id, $field_association_id = $sth->fetchrow_array()) which should be while(($cust_id, $field_association_id) = $sth->fetchrow_array()) it solved the problem