Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^2: Win32 API directory searches that return wide / unicode filenamesby BrowserUk (Patriarch) |
on Mar 03, 2006 at 17:35 UTC ( [id://534292]=note: print w/replies, xml ) | Need Help?? |
Ideally, perl/win32.* will be updated by someone (or by me) to support the Wide functionality. (Some/All?) the code to support this option is still there from when the -C command line option enabled the use of the wide apis on win32.
All that is needed is the addition of code to enable this at runtime in perl.c/S_parse_body() where it presumably used to live. I can't see any signs of it there now. Of course, it might be much harder to persuade the powers that be to allocate a new switch letter for the purpose. Maybe additional values could be added to the new interpretation of the -C switch (See perlrun). Say 'W'/128 for Wide calls. Ie. perl -CW script.pl would do what -C used to do? Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Cool Uses for Perl
|
|