in reply to opening filehandle with Win32API::File seems to return scalar
FYI, on Linux, Unix and similar systems, not only does the "raw" open service return a scalar, said scalar is just an integer. Usually applications don't use the raw open (or other raw file IO services) directly. Rather they use a library that provides a "friendlier" interface for file IO.
Perl has it's own file IO layer, as well as sysopen, sysread, etc, which provide access to the raw file IO services (or a POSIX-ized, semi-raw layer on top of non-POSIX OSs like MS Windows.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: opening filehandle with Win32API::File seems to return scalar
by Lotus1 (Vicar) on Oct 15, 2014 at 17:44 UTC |