Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

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

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 the Spreadsheet::Read manpage 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

the Spreadsheet::Perl manpage. the Spreadsheet::Read manpage.

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy