Permalink
Browse files

synopsis

  • Loading branch information...
1 parent c1f8d7c commit 1880b71550d8535fb5e5af308206aa72aa956dbf @kazeburo committed Oct 25, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/Scope/Container.pm
View
@@ -52,11 +52,12 @@ Scope::Container - scope based container
}
}
- for (1..10) {
+ for (1..3) {
my $contaier = start_scope_container();
getdb(); # do connect
getdb(); # from container
getdb(); # from container
+ # $container scope out and disconnect from db
}
getdb(); # do connect

0 comments on commit 1880b71

Please sign in to comment.