FAQ

On Thu May 26 19:24:25 2016, dcollinsn@gmail.com wrote:
dcollins@nightshade64:~/perldebug$ ./perl -Ilib -e
'{tell$0;i${^LAST_FH}}'
perl: mg.c:964: Perl_magic_get: Assertion `((((PL_last_in_gv)-
sv_flags & (0x00004000|0x00008000)) == 0x00008000) &&
(((svtype)((PL_last_in_gv)->sv_flags & 0xff)) == SVt_PVGV ||
((svtype)((PL_last_in_gv)->sv_flags & 0xff)) == SVt_PVLV))' failed.
Aborted
Here is a clearer test case:

$ ./perl -Ilib -e 'tell $0; ${^LAST_FH}->i'
Assertion failed: (isGV_with_GP(PL_last_in_gv)), function Perl_magic_get, file mg.c, line 964.
Abort trap: 6

Without the method call, it doesn’t fail.

--

Father Chrysostomos


---
via perlbug: queue: perl5 status: new
https://rt.perl.org/Ticket/Display.html?id=128263

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 2 | next ›
Discussion Overview
groupperl5-porters @
categoriesperl
postedMay 27, '16 at 2:24a
activeMay 27, '16 at 2:45a
posts2
users1
websiteperl.org

1 user in discussion

Father Chrysostomos via RT: 2 posts

People

Translate

site design / logo © 2017 Grokbase