M
MaggotChild
The documentation for File::Copy warns against using file handles as
arguments:
Note that passing in files as handles instead of names may lead
to
loss of information on some operating systems; it is
recommended
that you use file names whenever possible.
Does this refer to handles created with the older FileHandle module
(which is used in the module's synopsis), IO::Handle subclasses, or
both?
In either case what's the issue with handles that may lead to data
loss?
arguments:
Note that passing in files as handles instead of names may lead
to
loss of information on some operating systems; it is
recommended
that you use file names whenever possible.
Does this refer to handles created with the older FileHandle module
(which is used in the module's synopsis), IO::Handle subclasses, or
both?
In either case what's the issue with handles that may lead to data
loss?