Here's a few samples of the different kinds of error messages generated, based on various control variables.

Exception/Lite....# # --------------------------------------------------- # Sample exception STRINGIFY=1 running on thread 5 # --------------------------------------------------- # # Exception! Mayhem! and then ... # at file Exception/Lite.t, line 307 in main::weKnowBetterThanYou, + pid=24986, tid=5 # # --------------------------------------------------- # Sample exception STRINGIFY=2 running on thread 4 # --------------------------------------------------- # # Exception! Mayhem! and then ... # at file Exception/Lite.t, line 307 in main::weKnowBetterThanYou, + pid=24986, tid=4 # via file Exception/Lite.t, line 281 in main::notAWhatButAWho # via file Exception/Lite.t, line 373 in main::__ANON__ # via file Exception/Lite.t, line 374 in <package: main> # # --------------------------------------------------- # Sample exception STRINGIFY=3 running on thread 3 # FILTER=ON (hides eval frames) # --------------------------------------------------- # # Exception! Mayhem! and then ... # # thrown at file Exception/Lite.t, line 307 in main::weKnowBetter +ThanYou, pid=24986, tid=3 # reached via file Exception/Lite.t, line 281 in main::notAWhatButA +Who # reached via file Exception/Lite.t, line 362 in main::__ANON__ # reached via file Exception/Lite.t, line 363 in <package: main> # # Triggered by... # Exception! Horton hears a hoo! # rethrown at file Exception/Lite.t, line 315 # # thrown at file Exception/Lite.t, line 316 in main::horton, p +id=24986, tid=3 # reached via file Exception/Lite.t, line 310 in main::hoo # reached via file Exception/Lite.t, line 303 in main::weKnowBet +terThanYou # # # --------------------------------------------------- # Sample exception STRINGIFY=3 running on thread 2 # FILTER=OFF # --------------------------------------------------- # # Exception! Mayhem! and then ... # # thrown at file Exception/Lite.t, line 307 in main::weKnowBetter +ThanYou, pid=24986, tid=2 # reached via file Exception/Lite.t, line 281 in main::notAWhatButA +Who # reached via file Exception/Lite.t, line 348 in (eval) # reached via file Exception/Lite.t, line 348 in main::__ANON__ # reached via file Exception/Lite.t, line 350 in (eval) # reached via file Exception/Lite.t, line 350 in <package: main> # # Triggered by... # Exception! Horton hears a hoo! # rethrown at file Exception/Lite.t, line 315 # # thrown at file Exception/Lite.t, line 316 in main::horton, p +id=24986, tid=2 # reached via file Exception/Lite.t, line 310 in (eval) # reached via file Exception/Lite.t, line 315 in main::hoo # reached via file Exception/Lite.t, line 303 in (eval) # reached via file Exception/Lite.t, line 305 in main::weKnowBet +terThanYou # # # --------------------------------------------------- # Sample exception STRINGIFY=4 running on thread 1 # FILTER=ON # --------------------------------------------------- # # Exception! Mayhem! and then ... # # thrown at file Exception/Lite.t, line 307 in main::weKnowBetter +ThanYou, pid=24986, tid=1 # @_=('ARRAY(0x83a8a90)' # ,'rot, rot, rot' # ,'Wikerson brothers' # ,'triculous tripe' # ,'There will be no more talking to hoos who are not!' # ,'black bottom birdie' # ,'from the three billionth flower' # ,'Mrs Tucanella returns with Wikerson uncles and cousins' # ,'sound off! sound off! come make yourself known!' # ,'Apartment 12J' # ,'Jo Jo the young lad' # ,'the whole world was saved by the tiny Yopp! of the smalle +st of all' # ) # reached via file Exception/Lite.t, line 281 in main::notAWhatButA +Who # @_=() # reached via file Exception/Lite.t, line 334 in main::__ANON__ # @_=() # reached via file Exception/Lite.t, line 335 in <package: main> # @ARGV=() # # Triggered by... # Exception! Horton hears a hoo! # rethrown at file Exception/Lite.t, line 315 # # thrown at file Exception/Lite.t, line 316 in main::horton, p +id=24986, tid=1 # @_=('15th of May' # ,'Jungle of Nool' # ,'a small speck of dust on a small clover' # ,'a person's a person no matter how small' # ) # reached via file Exception/Lite.t, line 310 in main::hoo # @_=('Dr Hoovey' # ,'hoo-hoo scope' # ,'Mrs Tucanella' # ,'Uncle Nate' # ) # reached via file Exception/Lite.t, line 303 in main::weKnowBet +terThanYou # @ARGV=('ARRAY(0x83a8a90)' # ,'rot, rot, rot' # ,'Wikerson brothers' # ,'triculous tripe' # ,'There will be no more talking to hoos who are not!' # ,'black bottom birdie' # ,'from the three billionth flower' # ,'Mrs Tucanella returns with Wikerson uncles and cous +ins' # ,'sound off! sound off! come make yourself known!' # ,'Apartment 12J' # ,'Jo Jo the young lad' # ,'the whole world was saved by the tiny Yopp! of the +smallest of all' # ) # ---------------------------- # End of demo. Goodbye! # ----------------------------

In reply to Re: RFC: A better name for an exception handling module? by ELISHEVA
in thread RFC: A better name for an exception handling module? by ELISHEVA

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.