projects
/
dbsrgits/DBIx-Class-Schema-Loader.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
fix POD for scalarref tables
[dbsrgits/DBIx-Class-Schema-Loader.git]
/
lib
/
DBIx
/
Class
/
Schema
/
Loader
/
Base.pm
diff --git
a/lib/DBIx/Class/Schema/Loader/Base.pm
b/lib/DBIx/Class/Schema/Loader/Base.pm
index
db415c4
..
e4b1265
100644
(file)
--- a/
lib/DBIx/Class/Schema/Loader/Base.pm
+++ b/
lib/DBIx/Class/Schema/Loader/Base.pm
@@
-2209,6
+2209,7
@@
sub _make_pod {
if ($method eq 'table') {
my $table = $_[0];
+ $table = $$table if ref $table eq 'SCALAR';
$self->_pod($class, "=head1 TABLE: C<$table>");
$self->_pod_cut($class);
}