kprasanna_79 has asked for the wisdom of the Perl Monks concerning the following question:

Greetings Monk,

I am creating a process with Win32::Process and running one program. And using its object when i try to use its wait function, its throwing the following error.So can any body can throw some light on it.

Your vendor has not defined Win32::Process macro wait, used at test.pl + line 420. at D:/Perl/site/lib/Win32/Process.pm line 46.

I am using perl 5.6.1 and windows 2000


-prasanna.k

Replies are listed 'Best First'.
Re: Wait function error with Win32::Process
by randyk (Parson) on Sep 21, 2005 at 14:41 UTC
    Are you by chance using something like $ProcessObj->wait(INFINITE);? It should be $ProcessObj->Wait(INFINITE);, with a capital "W".