projects
/
gruntmaster-data.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62a58bf
)
Make DBIx::Simple instance global
author
Marius Gavrilescu
<marius@ieval.ro>
Mon, 30 Mar 2015 12:39:09 +0000
(15:39 +0300)
committer
Marius Gavrilescu
<marius@ieval.ro>
Mon, 30 Mar 2015 12:39:09 +0000
(15:39 +0300)
lib/Gruntmaster/Data.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Gruntmaster/Data.pm
b/lib/Gruntmaster/Data.pm
index 846d7721f21748735910c86d7bc7de3e930d29bd..067d52c2635cf79c41acf9f6c9d0e3162d1df5ff 100644
(file)
--- a/
lib/Gruntmaster/Data.pm
+++ b/
lib/Gruntmaster/Data.pm
@@
-42,7
+42,7
@@
my %statements = (
job_full_sth => 'SELECT * FROM jobs WHERE id = ?',
);
-
my
$db;
+
our
$db;
sub init {
$db = DBIx::Simple->new(@_);
This page took
0.011398 seconds
and
4
git commands to generate.