This works if ($append == 1){
die (main::encode_loop) if $count == 100; # this is a count as a test - the loop goes from 1-150 } but if I try to put it as the action for a cancel sub it fails silently $widget{btn_cancel}->signal_connect('clicked', sub { die (main::encode_loop) ); any suggestions _______________________________________________ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list