in reply to Re^3: Perl Tk - how to send a value from a subroutine back to the main program using Button
in thread Perk Tk - how to send a value from a subroutine back to the main program using Button

With more complex code, you can run into problems when passing values instead of references; on occasion, these can be hard to track down and rectifying them can involve reworking large parts of your code.

I'll bet half the problems come from all the closures :P

  • Comment on Re^4: Perl Tk - how to send a value from a subroutine back to the main program using Button