in reply to Re^2: Perl/Tk:swapping of frames without loosing the data
in thread Perl/Tk:swapping of frames without loosing the data

Try adding use strict; use warnings;.