On Fri, Jan 15, 2010 at 04:43:32PM -0800, Jakub Narebski wrote:
Third, wouldn't it be better to use shorter variable name, e.g. $out
or $oh, instead of $output_handle? We would be able to align print(f)
statements without making lines much longer.
I totally agree, I was going to comment on this too. Please use
something very short, I think even the three characters might be pushing
it a bit. Having long idiom will make it real pain to both read and
write gitweb code.
It would still be nice if we could have some way to avoid this hack
entirely. Couldn't we layer PerlIO::via over STDOUT and continue to use
argument-less print as before?
I think we (well, in practice, "you" nowadays :) should be less
perfectionist when accepting gitweb contributions, so if the answer is
"it's too hard for me to do right now", that's fine I guess; I know I
can't contribute the code currently. :(
Petr "Pasky" Baudis