CPAN Maintenance release of Business::DK::Phonenumber

Version 0.03 of our open source Perl module Business::DK::Phonenumber have been uploaded to CPAN.

The release contains a single bug fix addressing a serious bug in the primary regular expression used in the validation subroutine.

The problem was a simple \b (word boundary), which should have been a \z (end of string). We have chosen to use \A (beginning of string) and \z over ^ and $, which might bear other meaning is regular expressions. The \b bug is expected to be a simple typo.

The validation was generally working as expected, but the \b would allow invalid strings resembling phone number to pass as valid.

Updating is recommended if you are using Business::DK::Phonenumber or any of it’s modules.

Thanks to Michael Zedeler locating and reporting the issue.

Business::DK::Phonenumber is distributed under the Artistic License and can be downloaded from your local CPAN mirror or via: search.cpan.org.

Advertisements
CPAN Maintenance release of Business::DK::Phonenumber

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s