I commented out the try and put an eval back in, and after the call got:
SV = PV(0x187eb88) at 0x1880ce8 REFCNT = 1 FLAGS = (ROK) RV = 0x55b67b0 SV = PVHV(0x55aa5f0) at 0x55b67b0 REFCNT = 1 FLAGS = (OBJECT,OVERLOAD,SHAREKEYS) STASH = 0x49f1540 "Email::Sender::Failure" ARRAY = 0x55dfed0 (0:3, 1:3, 2:2) hash quality = 111.4% KEYS = 7 FILL = 5 MAX = 7 RITER = -1 EITER = 0x0 Elt "stack_trace" HASH = 0x7848e70 SV = PVMG(0x56b3b30) at 0x56778c0 REFCNT = 1 FLAGS = (ROK) IV = 0 NV = 0 RV = 0x56779f8 SV = PVHV(0x55aa708) at 0x56779f8 REFCNT = 1 FLAGS = (OBJECT,OVERLOAD,SHAREKEYS) STASH = 0x567ad90 "Devel::StackTrace" ARRAY = 0x55dbba0 (0:5, 1:3) hash quality = 150.0% KEYS = 3 FILL = 3 MAX = 7 RITER = -1 EITER = 0x0 Elt "index" HASH = 0x91501139 SV = NULL(0x0) at 0x56779e0 REFCNT = 1 FLAGS = () PV = 0x56779f8 "" CUR = 0 LEN = 0 Elt "_recipients" HASH = 0x82243041 SV = RV(0x56b5af8) at 0x56b5ae8 REFCNT = 1 FLAGS = (ROK) RV = 0x56b5a58 SV = PVAV(0x5675d40) at 0x56b5a58 REFCNT = 1 FLAGS = () ARRAY = 0x258b8a0 FILL = 0 MAX = 0 ARYLEN = 0x0 FLAGS = (REAL) Elt No. 0 SV = PV(0x56ae658) at 0x56b5ab8 REFCNT = 1 FLAGS = (POK,pPOK) PV = 0x56a4ff0 "sales@LEDsbythefoot.com"\0 CUR = 23 LEN = 24 Elt "stack_trace_class" HASH = 0x850b24fb SV = PV(0x527e468) at 0x5677638 REFCNT = 1 FLAGS = (POK,pPOK) PV = 0x55dd2f0 "Devel::StackTrace"\0 CUR = 17 LEN = 24 PV = 0x55b67b0 "" CUR = 0 LEN = 0
I changed it to Dump($@) if $@; to make sure it was still testing as true, and then got a shorter dump:
SV = PV(0x187eb88) at 0x1880ce8 REFCNT = 1 FLAGS = (POK,pPOK) PV = 0x5592da0 ""\0 CUR = 0 LEN = 8
So... testing it as a bool will destroy it! Am I reading that right?

In reply to Re^2: Where did $@ go? by John M. Dlugosz
in thread Where did $@ go? by John M. Dlugosz

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.