ppm problem

2006-05-23 Thread LeFevre, Ken



I'm running 
ActiveState Perl version 5.8.4 build 810. PPM used to work great. 
Now, when I do a search, it gives the following error 
message:

Error: No valid 
repositories: Error: This SOAP server does not expose aPPM3-compatible 
interface. Specifically, it does not implement theppm_protocol() method. 
Please inform the server's administrator of theproblem. Error: This SOAP 
server does not expose a PPM3-compatibleinterface. Specifically, it does not 
implement the ppm_protocol()method. Please inform the server's administrator 
of the problem.

Any ideas what could 
be wrong?

Thanks,

Ken
Cardinal Health -- Working together. For life. (sm)
_

This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.

Dansk - Deutsch - Espanol - Francais - Italiano - Japanese - Nederlands - Norsk - Portuguese - Svenska: www.cardinalhealth.com/legal/email

___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


RE: Reading mail box.

2006-05-19 Thread LeFevre, Ken
I'm pretty sure you need to provide a password.  It would be the password 
attached to the Outlook profile.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Yekhande, Seema (MLITS)
Sent: Friday, May 19, 2006 9:12 AM
To: A. Pollock; perl-win32-users@listserv.ActiveState.com
Subject: RE: Reading mail box.


I still could not able to read the mail box.

By using OutlookReader.pm I, have written a program like this,

use Cardinal::OutlookReader;
$profileName = '[EMAIL PROTECTED]';
$_mailbox = 'Microsoft Outlook';
$password = '';
$_targetFolder = InBox;
my $manager =
Cardinal::OutlookReader-new('',$profileName,$password,$_mailbox,$_targe
tFolder);

But I am getting the error like this 
I am not having the password for the maiInitializing OutlookReader
package - 1.0  11/22/05
Just called Win32::OLE-Initialize(Win32::OLE::COINIT_OLEINITIALIZE)
(LoadMailbox) Folder:  Mailbox - Yekhande, Seema (MLITS)
(LoadMailbox) Folder:  Public Folders
Couldn't find mailbox  at C:/Perl/site/lib/Cardinal/OutlookReader.pm
line 245.
Destroying the OutlookReader objectl box. 

Can any one please explain me how to read the mail box using perl.

Thanks,
Seema.

-Original Message-
From: A. Pollock [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 19, 2006 12:03 AM
To: Yekhande, Seema (MLITS); perl-win32-users@listserv.ActiveState.com
Cc: Yekhande, Seema (MLITS)
Subject: Re: Reading mail box.


Yeah, you have to install Mail::Box::IMAP4 manually after
you install Mail::Box. It should work fine after that. It's
a great little module.


 - Original Message -
 From: Yekhande, Seema (MLITS) [EMAIL PROTECTED]
 To: perl-win32-users@listserv.ActiveState.com
 Subject: Reading mail box.
 Date: Thu, 18 May 2006 18:37:26 +0530
 
 
 Hello All,
 
 I want to read a mail box from Microsoft Outlook which is my inbox.
 I am writing a code like this,
 
 use Mail::Box::Manager;
 my $mgr= Mail::Box::Manager-new;
 my $folder = $mgr-open('Inbox');
 But this is giving me an error as
 
 ERROR: Package Mail::Box::IMAP4 does not implement
Mail::Box::foundIn.
 Please warn the author, this shouldn't happen. at
 C:/Perl/site/lib/Mail/Reporter
 .pm line 196
  Mail::Reporter::notImplemented('Mail::Box::IMAP4') called at
 C:/Perl/sit
 e/lib/Mail/Box.pm line 155
  Mail::Box::foundIn('Mail::Box::IMAP4', 'Inbox', 'access',
'r',
 'folderdi
 r', ., 'authentication', 'AUTO', 'folder', ...) called at
 C:/Perl/site/lib/Mail/
 Box/Manager.pm line 208
  Mail::Box::Manager::open('Mail::Box::Manager=HASH(0x35760)',
 'Inbox') ca
 lled at mail.pl line 77
 
 Even if I am writing a code as below
 use Mail::Box::Manager;
 my $manager = Mail::Box::Manager-new;
 my $folder  = $manager-open(folder = $ENV{MAIL});
 my $msg = $folder-message(1);
 
 It is giving me the error as ERROR: No foldername specified to open.
 Can't call method message on an undefined value at mail1.pl line 4.
 So, can anyone please explain me how to read the messages from mail
box.
 
 Thanks  Regards,
 Seema.
 
 
 If you are not an intended recipient of this e-mail, please notify 
 the sender, delete it and do not read, act upon, print, disclose, 
 copy, retain or redistribute it. Click here for important 
 additional terms relating to this e-mail. 
 http://www.ml.com/email_terms/
 
 
 ___
 Perl-Win32-Users mailing list
 Perl-Win32-Users@listserv.ActiveState.com
 To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs




-- 
___

Search for businesses by name, location, or phone number.  -Lycos Yellow
Pages

http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default
.asp?SRC=lycos10


If you are not an intended recipient of this e-mail, please notify the sender, 
delete it and do not read, act upon, print, disclose, copy, retain or 
redistribute it. Click here for important additional terms relating to this 
e-mail. http://www.ml.com/email_terms/


___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Cardinal Health -- Working together. For life. (sm)
_

This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the email by you is prohibited.

Dansk - Deutsch - Espanol - Francais - Italiano - Japanese - Nederlands - Norsk 
- Portuguese - Svenska: www.cardinalhealth.com/legal/email

___

RE: Reading mail box.

2006-05-18 Thread LeFevre, Ken
Title: Reading mail box.



I've 
attached an object that reads the Outlook folder in the mailbox you specify when 
you instantiate it. It works under Windows 2K Professional, but not Win2k 
Server. It does, however, work under Win2k3 Server. It requires that 
you install Microsoft's free Redemption software.

Hope 
it helps,

Ken


  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]On Behalf Of 
  Yekhande, Seema (MLITS)Sent: Thursday, May 18, 2006 9:07 
  AMTo: perl-win32-users@listserv.ActiveState.comCc: 
  Yekhande, Seema (MLITS)Subject: Reading mail 
  box.
  
  Hello All, 
  
  I want to read a mail box from Microsoft Outlook 
  which is my inbox. I am writing a code like 
  this, 
  use Mail::Box::Manager; my $mgr = Mail::Box::Manager-new; 
  my $folder = $mgr-open('Inbox'); 
  But this is giving me an error as 
  "ERROR: Package Mail::Box::IMAP4 does not implement 
  Mail::Box::foundIn. Please warn the author, 
  this shouldn't happen. at C:/Perl/site/lib/Mail/Reporter .pm line 196  
  Mail::Reporter::notImplemented('Mail::Box::IMAP4') called at 
  C:/Perl/sit e/lib/Mail/Box.pm line 
  155  
  Mail::Box::foundIn('Mail::Box::IMAP4', 'Inbox', 'access', 'r', 
  'folderdi r', ., 'authentication', 'AUTO', 
  'folder', ...) called at C:/Perl/site/lib/Mail/ Box/Manager.pm line 208  
  Mail::Box::Manager::open('Mail::Box::Manager=HASH(0x35760)', 'Inbox') 
  ca lled at mail.pl line 
  77"Even if I am writing a code as 
  below use Mail::Box::Manager; 
  my $manager = Mail::Box::Manager-new; 
  my $folder = $manager-open(folder = 
  $ENV{MAIL}); my 
  $msg = $folder-message(1); 
  It is giving me the error as "ERROR: No 
  foldername specified to open. Can't 
  call method "message" on an undefined value at mail1.pl line 4." 
  So, can anyone please explain me how to read 
  the messages from mail box. 
  Thanks  Regards,Seema. 
  
  
  
  If you are not an intended recipient of this e-mail, please notify the 
  sender, delete it and do not read, act upon, print, disclose, copy, retain or 
  redistribute it. Click here for 
  important additional terms relating to this e-mail. http://www.ml.com/email_terms/
  
  
  
Cardinal Health -- Working together. For life. (sm)
_

This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.

Dansk - Deutsch - Espanol - Francais - Italiano - Japanese - Nederlands - Norsk - Portuguese - Svenska: www.cardinalhealth.com/legal/email



OutlookReader.pm
Description: OutlookReader.pm
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


RE: stop a Windows application from within a Perl script

2006-04-18 Thread LeFevre, Ken
There's also a great command line tool by Mark Russinovich (which is easy to 
launch from a perl script) called pskill (you can get it at 
www.sysinternals.com).

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Jack D.
Sent: Monday, April 17, 2006 10:52 PM
To: 'Dan Jablonsky'; perl-win32-users@listserv.ActiveState.com
Subject: RE: stop a Windows application from within a Perl script


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On 
 Behalf Of Dan Jablonsky
 Sent: April 17, 2006 8:00 PM
 To: perl-win32-users@listserv.ActiveState.com
 Subject: stop a Windows application from within a Perl script
 
 Hi all,
 I have a very simple script that pings the outside world and 
 reboots a router when it gets no answer to the ping anymore; 
 on top of that I need to stop and start again a windows application.
 I know how to start the app and I know how to stop it if it 
 were unix - to stop the app, just kill the associated process ...
 How does one do this in Windows?

If you start the application using Win32::Process you would just kill it
using the pid (similar to unix) Win32::Process::KillProcess($pid)

J.
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Working together.  For life.(sm)
_

This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the email by you is prohibited.

Dansk - Deutsch - Espanol - Francais - Italiano - Japanese - Nederlands - Norsk 
- Portuguese - Svenska: www.cardinalhealth.com/legal/email

___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


RE: Win32::Ole (MAPI) and Win2K scheduler

2006-01-04 Thread LeFevre, Ken
Thanks to Steven Manross, I'm a step further along in troubleshooting this.  
Using Steven's suggestion, I got the following from OLE-LastError: 
'Win32::OLE(0.1403) error 0x80070005: Access is denied'.  Does anyone out 
there know anything about how the Win2k scheduler accesses objects (and, more 
importantly, how to circumvent this problem)?  As I stated earlier, the 
scheduled task is running under the same userid I use to log on when I 
successfully run my program at a command prompt.

Ken
-Original Message-
From: Steven Manross [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 03, 2006 5:18 PM
To: LeFevre, Ken; perl-win32-users@listserv.ActiveState.com
Subject: RE: Win32::Ole (MAPI) and Win2K scheduler


Replace :

die Oops, cannot start Outlook;

with 

open (FILE,c:\\outlookerror.txt);
print FILE Oops, cannot start Outlook\n.Win32::OLE-LastError();
close (FILE);
die Oops, cannot start Outlook;

It will help refine what error the script is throwing (and refine the
possible solutions to the problem).

Steven


From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
LeFevre, Ken
Sent: Tuesday, January 03, 2006 1:01 PM
To: perl-win32-users@listserv.ActiveState.com
Subject: Win32::Ole (MAPI) and Win2K scheduler


I created a program using ActiveState's perl 5.8.4, compiled it using
perlapp 5.3.0 and ran it on Windows 2000 Professional SP4 against
Outlook 2000 SR-1 (9.0.0.3821).  It runs properly both from a command
prompt and as a scheduled task.  I released it into production on
Windows 2000 server SP4 using the identical version of Outlook 2000.
Again, it runs great from a command prompt.  When I run it as a
scheduled task, however, it dies because it's not able to get the
Outlook Application.
 
Here's the relevant code:
 
 
Win32::OLE-Initialize(Win32::OLE::COINIT_OLEINITIALIZE); 
die Win32::OLE-LastError(),\n if Win32::OLE-LastError(  );
eval { $Outlook = Win32::OLE-GetActiveObject('Outlook.Application')
};
die Outlook is not installed if $@;
unless (defined $Outlook) {
$Outlook = Win32::OLE-new('Outlook.Application', sub
{$_[0]-Quit;});
or die Oops, cannot start Outlook;
=== dies here under Win2k srvr as a scheduled task
 
As best I can tell, Outlook is registered the same on both machines.
The same dlls exist on both.  I even set up the scheduled task to run
under the same userid I used when logging on to the server to run the
program from the command prompt.  My theory is that there is some sort
of permissions issue or a difference in the scheduled task environment
between the two versions of the Win2k OS, but I'm not succeeded at
finding the problem and how to resolve it.
 
I would greatly appreciate any insight or assistance in getting this to
run in the new environment.
 
Thanks,
 
Ken

___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


Win32::Ole (MAPI) and Win2K scheduler

2006-01-03 Thread LeFevre, Ken



I created a program 
using ActiveState's perl 5.8.4, compiled it using perlapp 5.3.0 and ran it on 
Windows 2000 Professional SP4 against Outlook 2000 SR-1 (9.0.0.3821). It 
runs properly both from a command prompt and as a scheduled task. I 
released it into production on Windows 2000 server SP4 using the identical 
version of Outlook 2000. Again, it runs great from a command prompt. 
When I run it as a scheduled task, however, it dies because it's not able to get 
the Outlook Application.

Here's the relevant 
code:


 
Win32::OLE-Initialize(Win32::OLE::COINIT_OLEINITIALIZE); 
die Win32::OLE-LastError(),"\n" if Win32::OLE-LastError( 
); eval { $Outlook = 
Win32::OLE-GetActiveObject('Outlook.Application') 
}; die "Outlook is not installed" 
if $@; unless (defined $Outlook) 
{ $Outlook = 
Win32::OLE-new('Outlook.Application', sub 
{$_[0]-Quit;}); 
or die "Oops, cannot start Outlook"; === dies here 
under Win2k srvr as a scheduled task

As bestI can 
tell, Outlook is registered the same on both machines. The same dlls exist 
on both. I even set up the scheduled task to run under the same userid I 
used when logging on to the server to run the program from the command 
prompt. My theory is that there is some sort of permissions issue or a 
difference in the scheduled task environment between the two versions of the 
Win2k OS, but I'm not succeeded at finding the problem and how to resolve 
it.

I would greatly 
appreciate any insight or assistance in getting this to run in the new 
environment.

Thanks,

Ken
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


RE: OLE problem with Outlook

2005-12-01 Thread LeFevre, Ken
Jan:

Thanks for the clarification.  Even using require instead of use and only using 
Win32::OLE inside of a single thread, I was not able to get past the OLE error. 
 I have since restructured my program to do OLE access from within the main 
thread of the service and then let worker threads handle the messages brought 
back.  The service now works exactly as I had hoped it would.

Ken

-Original Message-
From: Jan Dubois [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 29, 2005 2:15 PM
To: 'Steven Manross'; LeFevre, Ken; [EMAIL PROTECTED]
Subject: RE: OLE problem with Outlook


Win32::OLE doesn't really mix with using multiple threads inside Perl.
I think you *might* get it to work if you only ever use it inside a
single thread, and then also make sure you don't use Win32::OLE
at all, but just require it in the thread that uses it.  The
Initialize() call would have to be in the same thread.

This has been a very long standing issue with Win32::OLE.  Unfortunately
the interpreter cloning method doesn't work very well for supporting
Win32::OLE.  I once started working on it, but it turned out to be a
lot more complicated than I thought, and I ran out of time...  It
still is on the todo list, for whatever it is worth.

Cheers,
-Jan

PS: You may notice various places in the Win32::OLE code that seems
to be about thread safety.  This code is to support multiple Perl
interpreters embedded in a single process, even running in different
threads.  But it does not deal with the cloning of objects done by
the Perl internal thread mechanism and doesn't do all the required
bookkeeping to do so.

On Mon, 28 Nov 2005, Steven Manross wrote:
 Shouldn't your

 Win32::OLE-Initialize(Win32::OLE::COINIT_OLEINITIALIZE);

 Be after the use Win32::OLE qw (.);

 As well, threading probably doesn't work all that well considering
 the single-threaded apartment model required for Outlook connections
 in Perl. But maybe someone can correct me if I've led you astray on
 this detail.

 Steven

On Thu, 24 Nov 2005, LeFevre, Ken wrote:
 I'm writing a program that monitors an Outlook mailbox and processes
 incoming e-mail in a given folder with a specified mailbox. When I
 run the module that does that actual access in the debugger, it
 works great. When I run the same module as a thread, I get the
 following error:

 retrying default method at /PerlApp/Win32/OLE/Lite.pm line 156.
 Win32::OLE(0.1403) error 0x800401f0: CoInitialize has not been
 called in METHOD/PROPERTYGET  at /PerlApp/Cardinal/OutlookReader.pm
 line 209

 I'm running the program on Windows 2K Professional SP4 using perl
 5.8.4.810 and Win32::OLE 0.1403 (the actual module is dated 11/5/2001
 5:48 PM).

 Its really odd that I can access the Outlook profile enough to see all
 of the mailboxes attached to it and all the folders in each mailbox. I
 can even get the ID of each folder. The error occurs when I call
 GetFolderFromID.

 My calling sequence is:

 * a service (compiled using perlsvc) that instantiates a
   dispatcher thread and several worker threads
 * a separate module (separate .pm) that represents the dispatcher
   thread. This module instantiates an OutlookReader, retrieves the
   contents of e-mails and places an entry on a Thread::Queue that
   is instantiated in the service and passed in to the dispatcher
   thread. It is also passed to each worker thread so they can
   retrieve work from it.

 * a separate module called OutlookReader. This object (which I've
   attached) calls
   Win32::OLE-Initialize(Win32::OLE::COINIT_OLEINITIALIZE) in its
   BEGIN function. This is the module that throws the error.

 In my testing, I have a test driver that instantiates the object that
 represents the dispatcher thread, so the structural hierarchy is
 identical. The only difference is that no threads are involved.

 Any help, suggestions or ideas would be greatly appreciated.

 Ken


___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


OLE problem with Outlook

2005-11-24 Thread LeFevre, Ken



I'm writing a 
program that monitors an Outlook mailbox and processes incoming e-mail in a 
given folder with a specified mailbox. When I run the module that does 
that actual access in the debugger, it works great. When I run the same 
module as a thread, I get the following error:

retrying default 
method at /PerlApp/Win32/OLE/Lite.pm line 156.Win32::OLE(0.1403) error 
0x800401f0: "CoInitialize has not been called"
 
in METHOD/PROPERTYGET "" at /PerlApp/Cardinal/OutlookReader.pm line 
209

I'm running the 
program onWindows 2K Professional SP4 using perl  5.8.4.810 and Win32::OLE 
0.1403 (the actual module is dated 11/5/2001 5:48 PM).

Its really odd that 
I can access the Outlook profile enough to see all of the mailboxes attached to 
it and all the folders in each mailbox. I can even get the ID of each 
folder. The error occurs when I call GetFolderFromID.

My calling sequence 
is:

  a service (compiled 
  using perlsvc) that instantiates a dispatcher thread and several worker 
  threads
  a separate module 
  (separate .pm) that represents the dispatcher thread. This module 
  instantiates an OutlookReader, retrieves the contents of e-mails and places an 
  entry on aThread::Queue that is instantiated in the service and passed 
  in to the dispatcherthread.It is also passedto each 
  worker thread so theycan retrieve work from it.
  a separate module 
  called OutlookReader. This object (which I've attached) calls 
  Win32::OLE-Initialize(Win32::OLE::COINIT_OLEINITIALIZE) in its BEGIN 
  function. This is the module that throws the 
error.
In my testing, I 
have a test driver that instantiates the object that represents the dispatcher 
thread, so the structural hierarchy is identical. The only difference is 
that no threads are involved.

Any help, 
suggestions or ideas would be greatly appreciated.

Ken





OutlookReader.pm
Description: OutlookReader.pm
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


RE: calling a external program

2005-11-02 Thread LeFevre, Ken




Marcus:

Here's some code that will execute your command and 
return what would normally go to STDOUT to the array 
@lines.

my $path = \\;
my $cmd = 
dir$path";my 
@lines;open X, "$cmd |"; @lines = X;close 
X;

foreach my $line 
(@lines){ print "$line\n"; }

Ken

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]On Behalf Of 
  MarkusSent: Wednesday, November 02, 2005 3:40 AMTo: 
  perl-win32-users@listserv.ActiveState.comSubject: calling a 
  external program
  
  Hi 
  all,
  
  Im looking for a way to call an 
  external program and get back the result in an array without seeing anything 
  on the STDOUT.
  If m using in example 
  
  
  $path = 
  \\;
  $result = system(dir, 
  $path);
  
  I can see the output on the STDOUT 
  but I cant find a way to put it in an array to make a post 
  processing.
  Only to forward the STDOUT to a 
  file is a idea, but based on other reasons not useful for 
  me.
  The variable $result contain only 
  the return code if the external program us supporting 
  this.
  
  Markus
  
  
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


RE: thread issue?

2005-10-25 Thread LeFevre, Ken
The way my program works is I allocate a pool of worker threads up front (since 
they're so expensive to create) and then simply reuse them.  I have a different 
process that checks to see if my threads are dying off.

-Original Message-
From: Bharucha, Nikhil [mailto:[EMAIL PROTECTED]
Sent: Monday, October 24, 2005 5:29 PM
To: LeFevre, Ken
Cc: perl-win32-users@listserv.ActiveState.com; $Bill Luebkert
Subject: RE: thread issue?


Are you releasing the threads when done with each?  With Windows I
believe the maximum concurrent thread count is 255.  If not, please
follow the standard operating procedure Bill has outlined below...

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
$Bill Luebkert
Sent: Monday, October 24, 2005 4:43 PM
To: LeFevre, Ken
Cc: perl-win32-users@listserv.ActiveState.com
Subject: Re: thread issue?

LeFevre, Ken wrote:
 I have a process that reads a snippet of code from a database and then
 executes it using an eval.  When I run it using my test tools, it
works
 great.  When I run it as part of a system that spawns worker threads
and
 these threads do the eval, the same code fails.  Here are my
particulars:
  
 
 * Windows 2K Professional Service Pack 4 (build 2195)
 * perl 5.8.4 (build 810)
 * If the code is just a single, in-line function, it works.  If
the
   code contains function calls (to either internal or external
   functions), it fails.
 
 Any ideas, suggestions, etc. would be greatly appreciated.

The usual suggestion applies here - create the smallest possible
snippet that demonstrates the problem showing input (if any),
actual output/error indication and expected output.
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


thread issue?

2005-10-24 Thread LeFevre, Ken



I have a process 
that reads a snippet of code from a database and then executes it using an 
eval. When I run it using my test tools, it works great. When I run 
it as part of a system that spawns worker threads and these threads do the eval, 
the same code fails. Here are my particulars:


  Windows 2K 
  Professional Service Pack 4 (build 2195)
  perl 5.8.4 (build 
  810)
  If the code is just 
  a single, in-line function, it works. If the code contains function 
  calls(to either internal or external functions), it 
  fails.
Any ideas, 
suggestions, etc. would be greatly appreciated.

Ken
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs