in reply to lvalue subs of a run-time persuasion
Outputs:my $mysub = do { my $myvar; eval 'return sub : lvalue { $myvar }'; }; $mysub->() = 42; print $mysub->(), $/;
42as i've heard many times before, the new features in 5.6.0 are a buggy area at times. this seems to be an inconsistency that should be checked, or submitted as a bug.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: lvalue subs of a run-time persuasion
by MeowChow (Vicar) on Dec 06, 2000 at 09:10 UTC |