From: Nicholas Clark Date: Mon, 8 Jan 2007 14:28:17 +0000 (+0000) Subject: Mention -C on #! line in perltodo. Remove some trailing whitespace that X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3236f110cb098d9081961e6c9f4585ecaf729cc5;p=p5sagit%2Fp5-mst-13.2.git Mention -C on #! line in perltodo. Remove some trailing whitespace that podchecker warned over. p4raw-id: //depot/perl@29719 --- diff --git a/pod/perltodo.pod b/pod/perltodo.pod index f7782c7..74e5a86 100644 --- a/pod/perltodo.pod +++ b/pod/perltodo.pod @@ -529,6 +529,15 @@ PerlIO doesn't do directories or symlinks, either: mkdir(), rmdir(), opendir(), closedir(), seekdir(), rewinddir(), glob(); symlink(), readlink(). +=head2 -C on the #! line + +It should be possible to make -C work correctly if found on the #! line, +given that all perl command line options are strict ASCII, and -C changes +only the interpretation of non-ASCII characters, and not for the script file +handle. To make it work needs some investigation of the ordering of function +calls during startup, and (by implication) a bit of tweaking of that order. + + =head1 Tasks that need a knowledge of the interpreter These tasks would need C knowledge, and knowledge of how the interpreter works, @@ -655,5 +664,3 @@ This will allow the use of a regex from inside (?{ }), (??{ }) and Apparently these are quite useful. Anyway, Jeffery Friedl wants them. demerphq has this on his todo list, but right at the bottom. - -