#!/usr/bin/perl use strict; use warnings; use threads; use threads::shared; my $dummy : shared = 1; threads->new(sub { "B::c", $dummy++ })->join; print "$dummy\n";
In reply to Re: "Attempt to free unreferenced scalar" and "Scalars leaked: 1" ?
by Khen1950fx
in thread "Attempt to free unreferenced scalar" and "Scalars leaked: 1" ?
by licht
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |