نديم ابن ﺤﻣﻮﺪﺓ الخمير - Nadim Khemir
and 1 contributors

NAME

Spreadsheet::ConvertAA - Perl extension for Converting Spreadsheet column name to/from decimal

SYNOPSIS

  use Spreadsheet::ConvertAA ;

  my $baseAA = ToAA(475255) ;
  my $base10 = FromAA('AAAZ') ;

DESCRIPTION

This module allows you to convert from Spreadsheet column notation ('A', 'AZ', 'BC') to decimal and back.

The Spreadsheet column notation is base 26 _without_ zero. 'A' is 1 and 'AA' is 27. I named the base 'AA' because I found no better name.

Spreadsheet::ConvertAA 'confess' on invalid input.

IMPORTANT

As of version 0.04, I have replaced the implementation of ToAA and FromAA with code from Spreadsheet::Read written by H.Merijn Brand. The new code is cleaner. The new ToAA is 50% faster and the new FromAA is only slightly slower.

The new code doesn't have the limitation ConvertAA had previously.

EXPORT

ToAA and FromAA

AUTHOR

Khemir Nadim ibn Hamouda. <nadim@khemir.net>

  Copyright (c) 2004-2005 Nadim Ibn Hamouda el Khemir. All rights
  reserved.  This program is free software; you can redis-
  tribute it and/or modify it under the same terms as Perl
  itself.
  

If you find any value in this module, mail me! All hints, tips, flames and wishes are welcome at <nadim@khemir.net>.

SEE ALSO

Spreadsheet::Perl. Spreadsheet::Read.