I have tried do this:
use strict; use warnings; use Data::Dumper; use threads; sub include_info { require 'Win32::Process::Info'; } sub test { print "1"; } include_info; my $tid = threads->create(\&test)->join();
Result: Can't locate Win32::Process::Info in @INC
But use works. Could you explain my mistake?
In reply to Re^2: Win32::Process::Info and threads
by LineStown
in thread Win32::Process::Info and threads
by LineStown
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |