Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^4: "Useless use of private variable in void context"

by Anonymous Monk
on Aug 22, 2008 at 20:57 UTC ( #706313=note: print w/ replies, xml ) Need Help??


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


Comment on Re^4: "Useless use of private variable in void context"
Re^5: "Useless use of private variable in void context"
by BrowserUk (Pope) on Aug 22, 2008 at 22:31 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://706313]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2014-08-22 07:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (148 votes), past polls