Subject: | SQL::Statement::Structure doc bugs: no functions for column_defs(), where->op() |
The synopsis for SQL::Statement::Structure shows the use of
column_defs() and where->op(). But these don't appear to be
implemented. Trying to run the code in the synopsis fails.
0) Copy the synopsis to a script and add #!/usr/bin/perl
1) Comment out the LOAD line.
2) Run the script.
Can't locate object method "column_defs" via package "SQL::Statement"
3) Comment out column_defs line.
Can't locate object method "op" via package "SQL::Statement::Operation::And"
Additionally, the order() function does not return a blessed object, but
simply a hash. So, the call to the column() method also fails.
Can't call method "column" on unblessed reference