Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

uninilized container

  • Loading branch information...
commit 5fc37ff1fba596196bca6ccf7c412d0d1227b22a 1 parent 1880b71
@kazeburo authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 lib/Scope/Container.pm
View
5 lib/Scope/Container.pm
@@ -23,7 +23,10 @@ sub start_scope_container {
sub scope_container {
my $key = shift;
die "undefined key" if ! defined $key;
- debugf("scope_container is not initilized") if ! defined $CONTEXT;
+ if ( ! defined $CONTEXT ) {
+ debugf("scope_container is not initilized");
+ return;
+ }
if ( @_ ) {
return $CONTEXT->{$key} = shift;
}
Please sign in to comment.
Something went wrong with that request. Please try again.