- or download this
subtype USZipCodeA
=> as Value
=> where {
/^$RE{zip}{US}{-extended => 'allow'}$/
};
- or download this
my $zip_re = qr/^$RE{zip}{US}{-extended => 'allow'}$/;
...
=> where {
$_ =~ $zip_re;
};
- or download this
package AddressA;
...
1;
- or download this
package AddressB;
...
has 'zip_code' => (is => 'rw', isa => 'USZipCodeB');
1;
- or download this
#!/usr/bin/perl
...
);
exit;
- or download this
Rate A B
A 2976/s -- -43%
B 5187/s 74% --
- or download this
Regexp::Common::_decache
Regexp::Common::new
- or download this
Class::MOP::Instance::new
Class::MOP::Instance::set_slot_value
- or download this
Rate A B
A 2955/s -- -7%
B 3174/s 7% --