Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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"

Replies are listed 'Best First'.
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 scrutinizing the Monastery: (4)
As of 2020-09-24 20:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (135 votes). Check out past polls.

    Notices?