Changes for version 1.02 - 2009-07-28
- Bug fixes 1 and 2 (thanks to Daniel Higgins for patches). Ticket: http://rt.cpan.org/Ticket/Display.html?id=48068 Bug 1: Module fails with undefined errors when list is not ordered by serial. Bug 2: Module fails with undefined errors when list has serial with dependencies numbers higher than itself.
- Bug 3: Calling convertX2Y() functions (convertFile2Array, convertFile2SQL(), etc) using an existing tree object, the tree nodes are not replaced. The solution is to always use a new tree object to create the tree.
- Bug 4: Code snippet for array started with #!perl instead of #!/usr/bin/perl.
- Added sub _isInteger.
- Added tests to 'test.pl'.
- Replaced system warning message in readFile() (when reading from an incorrectly indented file) with a custom warning message.
- Updated SQL syntax to work with PostgreSQL 8.2.
- Document bug: Calling getColumnNames() with use_column_names=0 does not return 'undef', but the default column names when not specified: 'Value', 'Value2', 'Value3', etc.
- Document update: Tested on MySQL 3.23.54 and PostgreSQL 7.4.1 -> Tested with MySQL 5.0.77 and PostgreSQL 8.2.13 on FreeBSD 7.2
Modules
Perl module to create tree objects using different sources.
Examples
- examples/README
- examples/change-password.sql
- examples/convertArray2DB.pl
- examples/convertArray2File.pl
- examples/convertArray2SQL.pl
- examples/convertDB2Array.pl
- examples/convertDB2File.pl
- examples/convertDB2SQL.pl
- examples/convertFile2Array.pl
- examples/convertFile2DB.pl
- examples/convertFile2SQL.pl
- examples/convertSQL2Array.pl
- examples/convertSQL2DB-dest.pl
- examples/convertSQL2DB.pl
- examples/convertSQL2File.pl
- examples/drop-mysql.sql
- examples/drop-pgsql.sql
- examples/insert-into-mysql.sql
- examples/insert-into-pgsql.sql
- examples/outputArray.pl
- examples/outputDB.pl
- examples/outputFile.pl
- examples/outputSQL.pl
- examples/readArray-no-column-names.pl
- examples/readArray-sorted.pl
- examples/readArray-unsorted.pl
- examples/readArray.pl
- examples/readDB.pl
- examples/readFile-family.pl
- examples/readFile-incorrectly-indented.pl
- examples/readFile-no-column-names.pl
- examples/readFile-simple.pl
- examples/readFile.pl
- examples/readSQL.pl
- examples/select-mysql.sql
- examples/select-pgsql.sql
- examples/tree-family.txt
- examples/tree-incorrectly-indented.txt
- examples/tree-no-column-names.txt
- examples/tree-simple.txt
- examples/tree.txt