DBIx::DBO2::Column - Struct for database column info
my $col = DBIx::DBO2::Column->new( name=>$colname, type=>$typename ); print $col->name; if ( $col->type eq 'text' ) { print "text, length " . $col->length; } else { print $col->type; }
DBIx::DBO2::Column objects hold information about columns in a database table or query result.
They are generally contained in a DBIx::DBO2::ColumnSet.
Multiple subclasses based on type.
These methods are available for all types of column.
These methods are only available for columns of type text.
2001-06-27 Moved to DBIx::DBO2:: namespace. Switched to Class::MakeMethods
2001-01-29 Added boolean required to store whether column is nullable.
2000-11-29 Switched to use of Class::MethodMaker 2.0 features.
1999-07-27 Simon: Created.
Developed by Evolution Online Systems:
M. Simon Cavalletto, simonm@evolution.com
This module is free software. It may be used, redistributed and/or modified under the same terms as Perl.
Copyright (c) 1999, 2000, 2001 Evolution Online Systems, Inc.
To install DBIx::DBO2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBIx::DBO2
CPAN shell
perl -MCPAN -e shell install DBIx::DBO2
For more information on module installation, please visit the detailed CPAN module installation guide.