leonerd / perl5

🐫 The Perl programming language
https://dev.perl.org/perl5/
Other
7 stars 1 forks source link

dump.c: When dumping SVt_PVOBJ, show field names as well #19

Closed wolfsage closed 2 years ago

wolfsage commented 2 years ago

This way, instead of:

Field No. 0
SV = PV(0x5638ccf57fb0) at 0x5638ccf7b9c0
  REFCNT = 1
  ...

You get:

Field No. 0 ($name)
SV = PV(0x5638ccf57fb0) at 0x5638ccf7b9c0
  REFCNT = 1
wolfsage commented 2 years ago

Thanks!