Skip Menu |

This queue is for tickets about the Win32-API CPAN distribution.

Report information
The Basics
Id: 129685
Status: new
Priority: 0/
Queue: Win32-API

People
Owner: Nobody in particular
Requestors: IKEGAMI [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Win32::API::Type and Win32::API::Struct don't compile (undeclared barewords)
C:\Users\ikegami>perl -e"use Win32::API; CORE::say Win32::API->VERSION" 0.84 C:\Users\ikegami>perl -e"use Win32::API::Type;" Bareword "PTRSIZE" not allowed while "strict subs" in use at C:/progs/sp5280-x64/perl/vendor/lib/Win32/API/Type.pm line 28. BEGIN not safe after errors--compilation aborted at C:/progs/sp5280-x64/perl/vendor/lib/Win32/API/Type.pm line 30. Compilation failed in require at -e line 1. BEGIN failed--compilation aborted at -e line 1. C:\Users\ikegami>perl -e"use Win32::API::Struct;" Bareword "DEBUGCONST" not allowed while "strict subs" in use at C:/progs/sp5280-x64/perl/vendor/lib/Win32/API/Struct.pm line 131. Bareword "DEBUGCONST" not allowed while "strict subs" in use at C:/progs/sp5280-x64/perl/vendor/lib/Win32/API/Struct.pm line 142. Bareword "DEBUGCONST" not allowed while "strict subs" in use at C:/progs/sp5280-x64/perl/vendor/lib/Win32/API/Struct.pm line 206. Bareword "DEBUGCONST" not allowed while "strict subs" in use at C:/progs/sp5280-x64/perl/vendor/lib/Win32/API/Struct.pm line 222. Bareword "DEBUGCONST" not allowed while "strict subs" in use at C:/progs/sp5280-x64/perl/vendor/lib/Win32/API/Struct.pm line 281. Bareword "DEBUGCONST" not allowed while "strict subs" in use at C:/progs/sp5280-x64/perl/vendor/lib/Win32/API/Struct.pm line 296. Bareword "DEBUGCONST" not allowed while "strict subs" in use at C:/progs/sp5280-x64/perl/vendor/lib/Win32/API/Struct.pm line 326. Bareword "DEBUGCONST" not allowed while "strict subs" in use at C:/progs/sp5280-x64/perl/vendor/lib/Win32/API/Struct.pm line 338. BEGIN not safe after errors--compilation aborted at C:/progs/sp5280-x64/perl/vendor/lib/Win32/API/Struct.pm line 343. Compilation failed in require at -e line 1. BEGIN failed--compilation aborted at -e line 1.
Ah! They work if you Win32::API is already loaded