marwatk has asked for the wisdom of the Perl Monks concerning the following question:
while (val = hv_iternext_flags((HV*) sstr, HV_ITERNEXT_WANTPLACEHOLDER +S)) {
the last lines of output are:warn( "gc_note_sv12.2.1" ); sv_dump( sstr ); warn( "magic follows" ); sv_dump( SvMAGIC(sstr) ); while (val = hv_iternext_flags((HV*) sstr, HV_ITERNEXT_WANTPLACEHO +LDERS)) {
Do any of you gurus have an idea for how I can detect and skip that failure before entering the while loop?gc_note_sv12.2.1 at testhelper.pl line 13. SV = PVHV(0x9c99a30) at 0x9d19c7c REFCNT = 1 FLAGS = (RMG,SHAREKEYS) IV = 0 NV = 0 MAGIC = 0x9de2398 MG_VIRTUAL = &PL_vtbl_pack MG_TYPE = PERL_MAGIC_tied(P) MG_FLAGS = 0x02 REFCOUNTED MG_OBJ = 0x9dd7520 SV = RV(0x9cb4d30) at 0x9dd7520 REFCNT = 1 FLAGS = (ROK) RV = 0x9dd752c ARRAY = 0x0 KEYS = 0 FILL = 0 MAX = 7 RITER = -1 EITER = 0x0 magic follows at testhelper.pl line 13. SV = NULL(0x0) at 0x9de2398 REFCNT = 6251956 FLAGS = (FAKE,pNOK)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Devel::GC::Helper + DBI (easy)
by tye (Sage) on Sep 29, 2006 at 04:41 UTC | |
by marwatk (Novice) on Sep 29, 2006 at 20:52 UTC | |
by tye (Sage) on Sep 29, 2006 at 21:16 UTC | |
by nmerriweather (Friar) on Sep 30, 2006 at 01:05 UTC | |
by tye (Sage) on Sep 30, 2006 at 06:38 UTC | |
| |
|
Re: Devel::GC::Helper + DBI
by nmerriweather (Friar) on Sep 30, 2006 at 01:03 UTC | |
by Anonymous Monk on Oct 17, 2006 at 22:07 UTC | |
by quelquun (Initiate) on Oct 17, 2006 at 22:26 UTC | |
by quelquun (Initiate) on Oct 18, 2006 at 01:00 UTC |