| 1 |
NAME |
| 2 |
|
| 3 |
Devel::CallParser - custom parsing attached to subroutines |
| 4 |
|
| 5 |
DESCRIPTION |
| 6 |
|
| 7 |
This module provides a C API, for XS modules, concerned with custom |
| 8 |
parsing. It is centred around the function "cv_set_call_parser", which |
| 9 |
allows XS code to attach a magical annotation to a Perl subroutine, |
| 10 |
resulting in resolvable calls to that subroutine having their arguments |
| 11 |
parsed by arbitrary C code. (This is a more conveniently structured |
| 12 |
facility than the core's "PL_keyword_plugin" API.) This module makes |
| 13 |
"cv_set_call_parser" and several supporting functions available. |
| 14 |
|
| 15 |
This module provides the implementation of the functions at runtime, |
| 16 |
and also at compile time supplies the C header file which provides access |
| 17 |
to the functions. |
| 18 |
|
| 19 |
INSTALLATION |
| 20 |
|
| 21 |
perl Build.PL |
| 22 |
./Build |
| 23 |
./Build test |
| 24 |
./Build install |
| 25 |
|
| 26 |
AUTHOR |
| 27 |
|
| 28 |
Andrew Main (Zefram) <[email protected]> |
| 29 |
|
| 30 |
COPYRIGHT |
| 31 |
|
| 32 |
Copyright (C) 2011, 2013 Andrew Main (Zefram) <[email protected]> |
| 33 |
|
| 34 |
LICENSE |
| 35 |
|
| 36 |
This module is free software; you can redistribute it and/or modify it |
| 37 |
under the same terms as Perl itself. |