]> Lady’s Gitweb - Gitweb/commitdiff
gitweb: Localize magic variable $/
authorJakub Narebski <redacted>
Mon, 11 May 2009 01:29:40 +0000 (03:29 +0200)
committerLady <redacted>
Mon, 6 Apr 2026 04:50:38 +0000 (00:50 -0400)
Instead of undefining and then restoring magic variable $/ (input
record separator) for 'slurp mode', localize it.

While at it, state explicitely that "local $/;" makes it undefined, by
using explicit  "local $/ = undef;".

Signed-off-by: Jakub Narebski <redacted>
Signed-off-by: Junio C Hamano <redacted>

No differences found
This page took 0.205088 seconds and 4 git commands to generate.