develooper Front page | perl.perl5.porters | Postings from October 2014

[perl #123092] Sub inlining inconsistencies

Thread Next
Father Chrysostomos via RT
October 31, 2014 22:58
[perl #123092] Sub inlining inconsistencies
Message ID:
Even worse:

$ ./perl -Ilib -e 'BEGIN { my $x; *foo = sub ():lvalue{0;return $x}} foo()++'
Can't modify constant item in postincrement (++) at -e line 1, near "foo()++"
Execution of -e aborted due to compilation errors.


Father Chrysostomos

via perlbug:  queue: perl5 status: new

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About