mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 09:48:00 -04:00
10 lines
511 B
Plaintext
10 lines
511 B
Plaintext
Regexp::Copy can copy the contents of one Regexp object to another. Regexp
|
|
objects created with qr// are impossible to dereference. This causes problems
|
|
on changing the data within the Regexp objects without want to loose the
|
|
reference on it. Regexp::Copy allows to change the Regexp by copying one
|
|
object created through qr// to another.
|
|
|
|
The Regex::Copy distribution also loads Regexp::Storable, which provides
|
|
hooks to allow the Storable persistence method to freeze and thaw Regexp
|
|
objects created by qr//.
|