in reply to Frustrating Error: "Global symbol requires explicit package name" - Can't see why?
I think all you need to do is put a statement-ending semi-colon (;) after these two lines:
my $t1 = async { qx(perl process1); } my $t2 = async { qx(perl process2); }
...so they look like this:
my $t1 = async { qx(perl process1); }; my $t2 = async { qx(perl process2); };
That's what it shows in the threads documentation, and works for me on one of my machines that has a threads capable perl.
-stevieb
|
---|