martyandpeg has asked for the
wisdom of the Perl Monks concerning the following question:
OK, I'm new to this (kind of). I have an Perl/tk application that does things like add, update and delete entries from a file. For example: When I do an add function I read a checkbox to see if that is really what I want to do. I would like to have a popup window come up and ask "are you sure". I tried calling a subroutine (from the subroutine that processes the add request) that opens the window (with buttons for yes/no), but even though the new window comes up fine the original subroutines does not wait for an answer from the new window. Any samples out there that I can look at?