From: Ash Berlin Date: Mon, 27 Nov 2006 21:39:23 +0000 (+0000) Subject: Typo fix in error message X-Git-Tag: v0.08010~150^2~120 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5bdf1b3d32c377ae24933000d198aa27366ca584;p=dbsrgits%2FDBIx-Class.git Typo fix in error message --- diff --git a/lib/SQL/Translator/Parser/DBIx/Class.pm b/lib/SQL/Translator/Parser/DBIx/Class.pm index ffe434a..edf6224 100644 --- a/lib/SQL/Translator/Parser/DBIx/Class.pm +++ b/lib/SQL/Translator/Parser/DBIx/Class.pm @@ -50,7 +50,7 @@ sub parse { my @monikers = $dbixschema->sources; if ($limit_sources) { my $ref = ref $limit_sources || ''; - die "'source' parameter must be an array or hash ref" unless $ref eq 'ARRAY' || ref eq 'HASH'; + die "'sources' parameter must be an array or hash ref" unless $ref eq 'ARRAY' || ref eq 'HASH'; # limit monikers to those specified in my $sources;