$widget->Button(-text=>"mybutton", -command=> [ \&mysub, 'a1', 'a2' ]) [download]
In reply to Re: Subs attached to Tk Buttons by Mr_Jon in thread Subs attached to Tk Buttons by Scarborough