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

People
Owner: Nobody in particular
Requestors: DOHERTY [...] cpan.org
Cc: doherty [...] pythian.com
AdminCc:

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



CC: doherty [...] pythian.com
Subject: OsFHandleOpen doesn't autovivify undef into a filehandle
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.