Thanks to those who provided suggestions.  They were:

  1. Use ENV{'COMPUTERNAME'} - worked
  2. SetTargetComputer("\0") - gave an error when calling NewWorkItem()
  3. Use Win32::NodeName - worked

I think it would be an improvement to the Win32::TaskScheduler module if there was a way to get the behavior you can get in C by passing in a NULL. Nevertheless, I've actually chosen a fourth option - use the host name that's already provided in the INI file I've read.

--
Lyle Kopnicky
Software Project Engineer
Veicon Technology, Inc.

_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to