On Fri Jul 07 23:34:16 2000, RT_System wrote: > >And as I different variation, I can't get lvalue subs to work at all: > > > DB<1> sub lv:lvalue { $x } > > > DB<2> $x = 3 > > > DB<3> x lv() > >0 3 > > DB<4> x lv = 4 > >0 4 > > DB<5> x $x > >0 3 > > DB<6> > > >That's using perl-current. > > It's a debugger issue. Your code, run stand-alone: > > #!/usr/bin/perl -l > sub lv:lvalue { $x } > $x = 3; > print lv; > lv = 4; > print $x; > > Does produce the expected result: > > 3 > 4 > > >Have lvalue subs ever worked? > > Yes. And it works in the debugger in 5.10.1, but not 5.10.0. -- Father Chrysostomos --- via perlbug: queue: perl5 status: open https://rt.perl.org:443/rt3/Ticket/Display.html?id=3471Thread Previous