new
# given qr(something to match against)
my $re = Data::Object::Regexp->new(qr(something to match against));
The new method expects a regular-expression object and returns a new class instance.
new(RegexpRef $arg1) : RegexpObject
method
5 POD Errors
The following errors were encountered while parsing the POD:
- Around line 10:
Unknown directive: =name
- Around line 14:
Unknown directive: =usage
- Around line 20:
Unknown directive: =description
- Around line 25:
Unknown directive: =signature
- Around line 29:
Unknown directive: =type