in reply to Is there a way to catch an error within a module?
For most file and directory handling Win32 APIs, there are two variants. Those with the A suffix (for ANSI character set) and those with a W suffix (for Wide character set). Eg. FindFirstFileA(...) & FindFirstFileW( ... ).
Perl is usually built to use the A suffix variants, and they have a built in limitation, on the length of paths, of 260 characters. The path in your error message is 262 characters.
Options:
I don't think anyone has tried this for a long time. I'm not sure that the implementation was very complete when it was working.
A quick grep of the 5.10.0 sources suggests that all the support that did exist at 5.8.6 has been stripped out.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Is there a way to catch an error within a module?
by romandas (Pilgrim) on Mar 18, 2008 at 09:44 UTC | |
by BrowserUk (Patriarch) on Mar 18, 2008 at 11:05 UTC | |
|
Re^2: Is there a way to catch an error within a module?
by Anonymous Monk on Mar 23, 2008 at 09:26 UTC | |
by BrowserUk (Patriarch) on Mar 23, 2008 at 09:57 UTC |