[ANNOUNCE] Damian Conway Speaking at London.pm: Monday, 10th March

Edmund von der Burg evdb at ecclestoad.co.uk
Fri Feb 21 14:00:16 GMT 2014

On 21 February 2014 10:50, Nicholas Clark <nick at ccl4.org> wrote:
> Of those, "GIR 0AA" breaks the pattern for postcodes, doesn't it?
> No number in the out code.

Yup - so it has to be special cased - for example in
you get:

=head1 special_cases ()

Returns a list of known valid but non-conformist postcodes. The only
official one is 'G1R 0AA', the old girobank address, but you can
override this method to extend the list.


sub special_cases {
    return ('G1R 0AA');

More information about the london.pm mailing list