> use Test; > class bar { method foo () {}} > ok bar.can("foo"), "stuff"; ok 1 - stuff
On Fri, Mar 20, 2015 at 3:00 PM, Tom Browder <tom.brow...@gmail.com> wrote: > On Mar 20, 2015 1:50 PM, "Will Coleda" <w...@coleda.com> wrote: >> class bar { method foo () {}} >> my bar $a = bar.new(); >> say so $a.can("foo"); > > Great! > >> I'm not sure this warrants a new _ok method. > > How would you do it with an existing test? > > Thanks, Will. > > Cheers! > > -Tom -- Will "Coke" Coleda