Author image Jesse Luehrs
and 1 contributors

NAME

smartmatch::engine::core - default smartmatch implementation from 5.10 - 5.14

VERSION

version 0.02

SYNOPSIS

  use smartmatch 'core';

DESCRIPTION

NOTE: This module is still experimental, and the API may change at any point. You have been warned!

This module implements the existing smart matching algorithm from perl 5.14, as a module. It has a pure perl implementation of the algorithm (which can be requested by setting $smartmatch::engine::core::USE_PP to a true value before useing this engine), but by default it uses a C implementation which should be identical to the algorithm in 5.14 - this module uses some new compiler hooks to turn calls to the engine's match function into a custom opcode, which is implemented by a copy of the smart match code from perl 5.14.

BUGS

No known bugs.

Please report any bugs through RT: email bug-smartmatch-engine-core at rt.cpan.org, or browse to http://rt.cpan.org/NoAuth/ReportBug.html?Queue=smartmatch-engine-core.

SEE ALSO

Please see those modules/websites for more information related to this module.

SUPPORT

You can find this documentation for this module with the perldoc command.

    perldoc smartmatch::engine::core

You can also look for information at:

AUTHOR

Jesse Luehrs <doy at tozt dot net>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Jesse Luehrs.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.