Re: [PATCH 1/5] gitweb: Add a comment explaining the meaning of $/
- From
Martin Langhoff <martin.langhoff@gmail.com>
- Date
- Dec 4, 2013, 16:19 UTC
- Message-ID
- <CACPiFCJON33dz64qSZDnrCo8hbVpbxk7k65xmW1oBiZ4Muzcbg@mail.gmail.com>
- In-Reply-To
- <1386171977.2173.23.camel@localhost.localdomain>
On Wed, Dec 4, 2013 at 10:46 AM, Krzesimir Nowak <krzesimir@endocode.com> wrote:
Show 10 quoted lines
> On Wed, 2013-12-04 at 16:11 +0100, Jakub Narębski wrote: >> On Wed, Dec 4, 2013 at 2:42 PM, Krzesimir Nowak <krzesimir@endocode.com> wrote: >> >> > So future reader will know what does it mean without running "perldoc >> > perlvar". >> >> Hmmm... shouldn't future reader know it anyway? It is not that cryptic. >> I'd say it is idiomatic Perl. > > It's plainly obscure. And I think it is not that often used -
It's classic Perl.
Perhaps you'd want to "use English;" and call it $INPUT_RECORD_SEPARATOR in a patch titled "Make things readable to non-Perl natives".
cheers,
m
-- martin.langhoff@gmail.com - ask interesting questions - don't get distracted with shiny stuff - working code first ~ http://docs.moodle.org/en/User:Martin_Langhoff