Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Segfault with Devel::Size

by Anonymous Monk
on Aug 22, 2013 at 10:20 UTC ( #1050503=note: print w/ replies, xml ) Need Help??


in reply to Segfault with Devel::Size

use Devel::Peek; Dump( $evilscalar );

Also report Devel::Size version, upgrade if yours is old


Comment on Re: Segfault with Devel::Size
Re^2: Segfault with Devel::Size
by wanna_code_perl (Pilgrim) on Aug 22, 2013 at 11:01 UTC

    Dump produces something like this on values that core dump with size() (the Scalar::Util here is due to me including it for more testing since my first post. Others have come from core pragmas such as warnings):

    SV = IV(0x15fe438) at 0x15fe448 REFCNT = 2 FLAGS = (ROK) RV = 0x15cfc58 SV = PVMG(0x15b8c50) at 0x15cfc58 REFCNT = 2 FLAGS = (POK,pPOK,SCREAM,VALID,OUR,EVALED) COP_LOW = 253 COP_HIGH = 268 PV = 0x1581bc0 "$VERSION"\0 CUR = 8 LEN = 16 OURSTASH = 0x15c94e8 "Scalar::Util" RARE = 12 PREVIOUS = 0 USEFUL = 253

    I'm using Devel::Size 0.79, which is the latest on CPAN (including development releases).

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1050503]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (13)
As of 2014-07-31 14:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (249 votes), past polls