Creates a new matcher based on
$sub. $sub will be called with the left hand side in
Leon Timmermans <email@example.com>
This software is copyright (c) 2011 by Leon Timmermans.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.