| parrotcode: data replacing implemented in PIR | |
| Contents | Libraries |

Data::Replace - data replacing implemented in PIR

...
load_bytecode "library/Data/Replace.pir"
.local pmc replace
replace = find_global "Data::Replace", "replace"
replace( array, old, new )
...

Replaces every occurrence of a specified PMC with another PMC in a nested, possible self-referential data structure.

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.

Copyright (C) 2004-2006, The Perl Foundation.
|
|
|