aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-Regexp-Copy/pkg-descr
blob: 927dd0322d30c5db2228fc7ac4ab7faf8e97e5b0 (plain) (blame)
1
2
3
4
5
6
7
8
9
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