Question about cancelling sub-routine
- From: Mike Martin <redtux1 gmail com>
- To: gtk-perl-list gnome org
- Subject: Question about cancelling sub-routine
- Date: Fri, 13 Aug 2010 04:07:04 +0100
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]