On 02/04/07, Sartak <[EMAIL PROTECTED]> wrote:
On 4/1/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Author: paultcochrane
> Date: Sun Apr 1 00:58:42 2007
> New Revision: 17921
>
> Modified:
> trunk/docs/pdds/pdd07_codingstd.pod
>
> Log:
> [docs] Added a note about Perl source code with __END__ or __DATA__ blocks
> not requiring an emacs/vim coda.
I don't know about emacs, but vim also searches the top (ten?) lines
for a coda. So maybe we could put it at/near the top iff there's an
__END__ or __DATA__ block.
Thanks for the comment! Unfortunately, we've already been down that
road, and it was decided that having some files with the coda at the
end and some at the top was not a good solution (it would certainly
clutter things at the top of the file). Also, I believe vim only
searches the top 5 lines, so we would also have to change the way the
coda looks for top-of-file version wrt the bottom-of-file version.
Some elegant, general way of setting editor hints in files would be
really nice, but we've not found the answer to that yet ... :-/
Paul