in reply to Why are there no errors when opening a filename that contains colons on Win10
You expect open to identify and reject all invalid names. It is not surprising that it is not always able to do this. A far better approach is to write a function that tests the name against the specification https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file#naming-conventions, for windows file names.
Bill
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Why are there no errors when opening a filename that contains colons on Win10
by Lotus1 (Vicar) on Oct 11, 2019 at 14:24 UTC | |
by BillKSmith (Monsignor) on Oct 11, 2019 at 18:42 UTC | |
by Lotus1 (Vicar) on Oct 11, 2019 at 20:48 UTC |
In Section
Seekers of Perl Wisdom