Skip Menu |

This queue is for tickets about the Win32API-File CPAN distribution.

Report information
The Basics
Id: 81210
Status: new
Priority: 0/
Queue: Win32API-File

Owner: Nobody in particular
Requestors: DOHERTY [...]
Cc: doherty [...]

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

CC: doherty [...]
Subject: OsFHandleOpen doesn't autovivify undef into a filehandle
Download (untitled) / with headers
text/plain 401b
The documentation claims that "FILE is a Perl file handle [in any of the supported forms, a bareword, a string, a typeglob, or a reference to a typeglob" -- but when I pass a scalar that is undef, it is not autovivified as I expected. If that's the case, you can't write OsFHandleOpen( my $fh, $win32_fh, 'r' ) As a workaround, you can do OsFHandleOpen( my $fh = FileHandle->new(),...) instead.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to