NAME

Pugs::Runtime::Tracer - tracer runtime for Pugs::Compiler::Rule

SYNOPSIS

use Pugs::Runtime::Tracer;
trace("blah blah blah");
trace_begin($regex_name, $regex_pos_from, $regex_pos_to, $input_pos);
trace_end($regex_name, $success, $input_pos);
$perl5_code_with_tracing_code = expand_tracing_code($perl5_code);

DESCRIPTION

This module provides tracing facilities for both PCR compile-time and run-time.

SEE ALSO

AUTHOR

Agent Zhang <agentzh@yahoo.cn>.

COPYRIGHT

Copyright 2007 by Yahoo! China Inc. http://cn.yahoo.com.

LICENSE

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