my $crt_index = Monorail::Change::CreateIndex->new( table => $idx->table->name, name => $idx->name, fields => scalar $idx->fields, type => lc $idx->type, options => scalar $idx->options, ); print $crt_index->as_perl; $crt_index->as_sql; $crt_index->transform_dbix($dbix)
To install Monorail, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Monorail
CPAN shell
perl -MCPAN -e shell install Monorail
For more information on module installation, please visit the detailed CPAN module installation guide.