in reply to Context-Sensitive Subroutine Dispatch

You should probably have a look at robin's Want. It's a muscular little XS module that i don't begin to understand, but it basically provides perl 6 want for perl 5. It might take the place of some of that hairy globbing, at least, and would allow you to detect list, boolean or hash context too.

  • Comment on Re: Context-Sensitive Subroutine Dispatch