lval substr() coredumps with refs (with patch)
authorPerl 5 Porters <perl5-porters@africa.nicoh.com>
Wed, 28 Aug 1996 02:32:42 +0000 (02:32 +0000)
committerAndy Dougherty <doughera@lafcol.lafayette.edu>
Wed, 28 Aug 1996 02:32:42 +0000 (02:32 +0000)
commitb7a902f4f873ea955859f89894f7d3c3b721fc0d
treed91db21d10ddf00f5b133d93c4ef514fcebfc75f
parentc411622ed1115558a052ffa629b6bd710abfef5c
lval substr() coredumps with refs (with patch)

substr() coredumps with a target that is a ref, when it is used in
an lvalue context.
The patch below corrects the problem by stringifying the reference
first (and emitting a warning when appropriate).
pod/perldiag.pod