--- lib/Grep/Source.pm 2007/04/28 17:55:37 123 +++ lib/Grep/Source.pm 2007/04/28 22:52:08 125 @@ -205,7 +205,8 @@ my $fatal = $args->{fatal}; die "no templates" unless defined( $args->{templates} ); my @templates; - if ( ref( $args->{template} ) eq 'ARRAY' ) { +warn dump( $args->{templates} ); + if ( ref( $args->{templates} ) eq 'ARRAY' ) { @templates = @{ $args->{templates} }; } else { @templates = ( $args->{templates} );