]> Lady’s Gitweb - Gitweb/commit
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)
commit6025337657f0ffbc345e1d46974cfb4285dd0fab753a358a51d4d2b46256191f
tree6ba1b41ed65097a57c2ab401ef4974e318d01370748e20f68f927a1f9be4e3a3
parent1da93012fc3f20038f04d13a1c2cf7918f09950898a80f2304d7f73fc570c928
gitweb: Localize magic variable $/

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>
gitweb.perl
This page took 0.203982 seconds and 4 git commands to generate.