freebsd-ports/textproc/p5-Regexp-Copy/pkg-descr
Sunpoet Po-Chuan Hsieh ad4f267b7a Update WWW
search.cpan.org is shutting down.
It will redirect to metacpan.org after June 25, 2018.

With hat:	perl
2018-05-27 20:15:16 +00:00

9 lines
471 B
Text

Regexp::Copy allows you to copy the contents of one Regexp object to another.
A problem that I have found with the qr// operator is that the Regexp objects
that it creates are is impossible to dereference.
This causes problems if you want to change the data in the regexp without
losing the reference to it. Its impossible.
Regexp::Copy allows you to change the Regexp by copying one object created
through qr// to another.
WWW: https://metacpan.org/release/Regexp-Copy