Fri Sep 11 13:54:13 2009: Request 49619 was acted upon.
Transaction: Correspondence added by JDB
       Queue: Win32-Process
     Subject: Bareword "NORMAL_PRIORITY_CLASS" not allowed while "strict subs"
   Broken in: 0.14
    Severity: (no value)
       Owner: Nobody
  Requestors: dji...@cpan.org
      Status: open
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=49619 >


This has nothing to do with "strict subs".  When you "use
Win32::Process" then you are importing several symbols at compile time
into your own namespace.  If you simply "require Win32::Process" at
runtime, then those symbols have not been imported and must be used
fully qualified:

    Win32::Process::NORMAL_PRIORITY_CLASS()

instead of

    NORMAL_PRIORITY_CLASS

This is not a bug in the module; this is just how Perl works.

Reply via email to