use strict;
use vars qw/$VERSION/;
-$VERSION = '1.59';
+$VERSION = '1.60';
sub filter {
my $schema = shift;
my %args = { +shift };
# Tables
- foreach ( $schema->get_tables ) {
+ for ( $schema->get_tables ) {
my %extra = $_->extra;
$extra{label} ||= ucfirst($_->name);
}
# Fields
- foreach ( map { $_->get_fields } $schema->get_tables ) {
+ for ( map { $_->get_fields } $schema->get_tables ) {
my %extra = $_->extra;
$extra{label} ||= ucfirst($_->name);
=head1 DESCRIPTION
-Maybe I'm trying to do too much in one go. Args set a match and then an update,
-if you want to set lots of things, use lots of filters!
+Maybe I'm trying to do too much in one go. Args set a match and then
+an update, if you want to set lots of things, use lots of filters!
=head1 SEE ALSO
L<perl(1)>, L<SQL::Translator>
-=head1 BUGS
-
-=head1 TODO
-
=head1 AUTHOR
+Unknown.
+
=cut