mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-07 14:19:10 -04:00
list avaialable constants for clarity
This commit is contained in:
parent
125d5c17f4
commit
fd95558594
1 changed files with 22 additions and 0 deletions
|
@ -197,5 +197,27 @@ You can import necessary SQLite constants from this module. Available tags are @
|
||||||
|
|
||||||
This module does not export anything by default.
|
This module does not export anything by default.
|
||||||
|
|
||||||
|
\=head1 CONSTANTS
|
||||||
|
|
||||||
END
|
END
|
||||||
|
|
||||||
|
for my $tag (sort keys %constants) {
|
||||||
|
next if $tag eq 'all';
|
||||||
|
print $fh <<"END";
|
||||||
|
\=head2 $tag
|
||||||
|
|
||||||
|
\=over 4
|
||||||
|
|
||||||
|
END
|
||||||
|
for my $const (@{$constants{$tag}}) {
|
||||||
|
print $fh <<"END";
|
||||||
|
\=item SQLITE_$const
|
||||||
|
|
||||||
|
END
|
||||||
|
}
|
||||||
|
print $fh <<"END";
|
||||||
|
\=back
|
||||||
|
|
||||||
|
END
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue