|parrotcode: simple string escaping implemented in PIR|
|Contents | Libraries|
Data::Escape - simple string escaping implemented in PIR
... load_bytecode "library/Data/Escape.imc" .local pmc escape escape = find_global "Data::Escape", "String" str = escape( str, "'" ) ...
This library escapes data to make it usable in PIR and C code.
This library provides the following function:
Jens Rieks <parrot at jensbeimsurfen dot de> is the author and maintainer. Please send patches and suggestions to the Perl 6 Internals mailing list.
Modifications by Jerry Gay to escape backslash and use character class ops.
Copyright (c) 2004, the Perl Foundation.