NAME

mock::Win32API::File - Mock needed parts of Win32API::File

SYNOPSIS

use lib qw{ inc/mock };
use Win32API::File qw{ :ALL };

DESCRIPTION

This Perl module is private to the Win32API-File-Time distribution, and may be changed or retracted without notice. Documentation is for the benefit of the author only.

This Perl module provides just enough of Win32API::File to allow Win32API::File::Time to be tested under a non-Windows system.

EXPORTS

The following manifest constants can be exported:

FILE_ATTRIBUTE_NORMAL
FILE_FLAG_BACKUP_SEMANTICS
FILE_SHARE_READ
FILE_SHARE_WRITE
OPEN_EXISTING

The values of these constants are defined in the Perl sense, but are undefined in that the user should not assume any particular value for them.

In addition, the following tags can be exported:

FILE_ATTRIBUTE_ (FILE_ATTRIBUTE_NORMAL)
FILE_FLAG_ (FILE_FLAG_BACKUP_SEMANTICS)
FILE_SHARE_ (FILE_SHARE_READ, FILE_SHARE_WRITE)
Func (CreateFile)
FuncW (CreateFileW)
Misc (OPEN_EXISTING)
ALL (all manifest constants)

SUBROUTINES

This class supports the following exportable subroutines:

CreateFile

This subroutine takes the same arguments as Win32API::File::CreateFile(). It simply returns the file name, since we are eventually going to pass it to the utime() built-in.

CreateFileW

This subroutine takes the same arguments as Win32API::File::CreateFileW(). It simply returns the file name, since we are eventually going to pass it to the utime() built-in.

ATTRIBUTES

This class has the following attributes:

SEE ALSO

<<< replace or remove boilerplate >>>

SUPPORT

Support is by the author. Please file bug reports at https://rt.cpan.org/Public/Dist/Display.html?Name=Win32API-File-Time, https://github.com/trwyant/perl-Win32API-File-Time/issues, or in electronic mail to the author.

AUTHOR

Tom Wyant (wyant at cpan dot org)

COPYRIGHT AND LICENSE

Copyright (C) 2016-2017, 2019-2021 by Thomas R. Wyant, III

This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5.10.0. For more details, see the full text of the licenses in the directory LICENSES.

This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 150:

You forgot a '=back' before '=head1'