RE: [perl #42925] Win32::GetLastError fails when first called
[p5sagit/p5-mst-13.2.git] / ext / Win32CORE / Win32CORE.pm
CommitLineData
78ff2d7b 1package Win32CORE;
2
3$VERSION = '0.01';
4
5use strict;
6use warnings;
7use vars qw($VERSION @ISA);
8use base qw(Exporter DynaLoader);
9no warnings "redefine";
10
11bootstrap Win32CORE $VERSION;
12
131;
14__END__
15=head1 NAME
16
82adc83d 17Win32CORE - Win32 CORE function stubs
78ff2d7b 18
19=head1 DESCRIPTION
20
82adc83d 21This library provides stubs for the functions marked as [CORE] in L<Win32>.
22See that document for usage information. When any of these functions are
23called, the full Win32 module is loaded automatically. It is preferred
24that callers of these functions explicitly C<use Win32;>.
25
26=head1 HISTORY
27
28Win32CORE was created to provide on cygwin those Win32:: functions that
29for regular win32 builds were provided by default in perl. In cygwin
30perl releases prior to 5.8.6, this module was standalone and had to
31be explicitly used. In 5.8.6 and later, it was statically linked into
32cygwin perl so this would no longer be necessary.
33
34As of perl 5.9.5/Win32 0.27, these functions have been moved into
35the Win32 module. Win32CORE provides stubs for each of the former
36CORE Win32:: functions that internally just load the Win32 module and
37call it's version, and Win32CORE is statically linked to perl for both
38cygwin and regular win32 builds. This will permit these functions to
39be updated in the CPAN Win32 module independently of updating perl.
78ff2d7b 40
41=cut