in reply to Re: Win32::Process::Info and threads
in thread Win32::Process::Info and threads
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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Win32::Process::Info and threads
by Corion (Patriarch) on Jan 17, 2017 at 15:04 UTC | |
by LineStown (Initiate) on Jan 17, 2017 at 15:16 UTC | |
|
Re^3: Win32::Process::Info and threads
by vr (Curate) on Jan 18, 2017 at 08:27 UTC | |
by LineStown (Initiate) on Jan 19, 2017 at 10:39 UTC |