develooper Front page | perl.moose | Postings from October 2009

Ease of tracking down bugs.

Thread Next
From:
Elliot Shank
Date:
October 29, 2009 05:34
Subject:
Ease of tracking down bugs.
Message ID:
4AE98BEA.4010509@galumph.com
Me on Twitter yesterday: "Had to hack Moose::Meta::Method::throw_error() to make it Carp::confess() to tell how an attribute constraint was being violated. Grrr." and "T'was the attribute builder that did it.".

This isn't the first time that I've had to muck with throw_error() to tell what's going on.  Only showing the stack from the caller and up makes debugging harder.

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About