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.

CPAN Maintenance release of Business::DK::Phonenumber

CPAN Maintenance release of Business::DK::Phonenumber

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

The release contains two bug fixes. Both related to the build system used, namely Module::Build. The bugs are not in Module::Build, but in the script using Module::Build, namely Build.PL

The script lacked dependencies to external CPAN modules, being used in the test suite, not part of the functional components, but just the test suite.

These kind of errors are hard to catch in the development environment, we can only point to the importance of smoke testing on segregated environments, since this often helps to catch this sort of errors. Development environments are often changed during development so they do not necessarily reflect the target environments where the product is supposed to be running after released.

We are currently not running our own smoke testing facility, but we are lucky that exactly CPAN offers this via CPAN-testers.

So if you look at:

http://www.cpantesters.org/distro/B/Business-DK-Phonenumber.html#Business-DK-Phonenumber-0.01 (you need to select version 0.01 in the drop-down).

You can see the sheer amount of test reports indicate the of efforts freely available to help us get our distributions smoke tested, with minimum effort and for free. All we need to do is upload

And as you might also see is the tests for version 0.02 are passing, so it seems as if the issues reported by the reports indicating failing test for 0.01 have been patched correctly.

Open Source is often described as sitting on the shoulder of giants, but CPAN and the Perl community really makes it worth while distributing Open Source Perl distributions via their infrastructure. We might not be sitting on the shoulders of giant, but we have a multitude of minions tirelessly working for us.

Thanks to the CPAN-testers – you do a marvelous job.

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

CPAN Maintenance release of Business::DK::Phonenumber

CPAN Release DK::Business::Phonenumber, multi flavored validation of Danish phone numbers

For about a year we have for using this small Data::FormValidator constraint extension we developed for use with telco a client.

It has finally been released to the CPAN.

The distribution by now contains 3 modules, representing 3 different approaches to validation of Danish phone numbers.

– Business::DK::Phonenumber, is a basic procedural implementation, exporting a validation subroutine.
– Data::FormValidator::Constraints::Business::DK::Phonenumber, is a package to integrate with the marvellous module Data::FormValidator
– Class::Business::DK::Phonenumber, is a object oriented implementation providing a class for handling phonenumber object

In addition to the 3 approaches listed above. The distribution offers:

– Generation of dummy phone numbers, which can be used for testing
– Pretty printing of phone numbers, so phone numbers, can be output and formatted using simple templates

This is the initial public release and it covers pretty much what we expect and set out too solve, ideas for improvements are more than welcome.

Business::DK::Phonenumber is the second open source project from logicLAB, which is developed on our Atlassian Jira Studio solution, so things might change overtime as we get more into using Jira Studio for both closed and open source projects, for now the following resources are available from our Business::DK::Phonenumber project web site (http://logicLAB.jira.com/browse/BDKPHN):

– Wiki
– SCM, Subversion, readonly
– Bug/Issue tracking, requires account for now, but we are working on that

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

CPAN Release DK::Business::Phonenumber, multi flavored validation of Danish phone numbers