Re: Methodicals: A better way to monkey type

2010-04-21 Thread John Harrison
ct as long as the object exists. So, if its a scoped variable, it will go away when you leave the scope. -- John Harrison On Wed, Apr 21, 2010 at 7:49 AM, Andrew Whitworth wrote: > This idea strikes me as being extremely similar to C#'s extension > methods, a feature that I'v

Re: Custom errors on subsets?

2010-01-05 Thread John Harrison
Would it make sense to have the failure bound to the function parameter rather than the subset? eg.: sub foo (Str $name where { $_ ~~ :f } else { die "Houston, we don't have a file" } ) { ... } Just a thought... On Tue, Jan 5, 2010 at 1:07 AM, Ovid wrote: > --- On Mon, 4/1/10, yary wrote: > >