[Pidgin] #10641: perl add_choice adds same choices within a loop

Pidgin trac at pidgin.im
Sun Nov 1 18:54:56 EST 2009


#10641: perl add_choice adds same choices within a loop
--------------------+-------------------------------------------------------
 Reporter:  rlazur  |        Owner:  deryni 
     Type:  defect  |       Status:  new    
Milestone:          |    Component:  plugins
  Version:  2.6.3   |   Resolution:         
 Keywords:  perl    |  
--------------------+-------------------------------------------------------
Changes (by deryni):

  * owner:  => deryni


Comment:

 Does this sample code always add the last (or I suppose possibly the first
 but that would surprise me) matching item from your file? While the debug
 info line displays the correct information? Does it work if your input is
 numbers instead of strings? Does it work if you assign $1 to some other
 my/local variable in the loop before passing it to add_choice?

-- 
Ticket URL: <http://developer.pidgin.im/ticket/10641#comment:1>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list