replace the fork with creating a thread and then you can use $skip_end across threads.use threads::shared; my $skip_end :shared;
In reply to Re: How to skip END blocks with threads?
by spx2
in thread How to skip END blocks with threads?
by repellent
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |