From df55be151f7f8757e34fddeb3f84b76af14d126b Mon Sep 17 00:00:00 2001 From: Michael Greb Date: Sun, 12 Jul 2015 00:26:46 -0400 Subject: [PATCH] Update moniker_map Coderef POD POD only mentioned two of the arguments passed to the function but there is a third, passed inbetween the mentioned args. --- lib/DBIx/Class/Schema/Loader/Base.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/DBIx/Class/Schema/Loader/Base.pm b/lib/DBIx/Class/Schema/Loader/Base.pm index 089adc08c..6f48d066f 100644 --- a/lib/DBIx/Class/Schema/Loader/Base.pm +++ b/lib/DBIx/Class/Schema/Loader/Base.pm @@ -613,7 +613,8 @@ a coderef for a translator function taking a L argument (which stringifies to the unqualified table name) and returning a scalar moniker -The function is also passed a coderef that can be called with either +The second argument to the function is the default name generated for the +table. The function is also passed a coderef that can be called with either of the hashref forms to get the moniker mapped accordingly. This is useful if you need to handle some monikers specially, but want to use the hashref form for the rest.