RT #83361, asserter now operates on definedness
authorMatt Phillips <mphillips@oanda.com>
Fri, 15 Feb 2013 20:14:10 +0000 (15:14 -0500)
committerMatt Phillips <mphillips@oanda.com>
Fri, 15 Mar 2013 17:43:34 +0000 (13:43 -0400)
commit43a43bffef786b13ac8924ece74f0420fd3421fd
treec9d3e5f4348fbdf688718f437c060cf8c63ba23b
parent80fd66d709cd4e8133e3414daa002cc12752e16d
RT #83361, asserter now operates on definedness

As per haargs suggestion:
11:32 <haarg> mattp: i'd say use the predicate to test for existance, but after
calling get.  so something like do { my $val = $get->(); die "Attempted to
access..." unless $has->(); $val; }
Changes
lib/Method/Generate/Accessor.pm
t/accessor-handles.t