in reply to "Attempt to free unreferenced scalar" and "Scalars leaked: 1" ?
#!/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";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: "Attempt to free unreferenced scalar" and "Scalars leaked: 1" ?
by licht (Novice) on Mar 31, 2007 at 23:30 UTC |