Name
getCurrentDB — returns the current Slash::DB
object, which can be used for database operations
Synopsis
my $slashdb = getCurrentDB();
getCurrentDB
retrieves the current database object (see Section D.3 later in this appendix). It is exported from the
Slash::Utility
package, on behalf of
Slash::Utility::Environment
.
Example
use Slash::Utility; my $slashdb = getCurrentDB();
Get Running Weblogs with Slash now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.