replaced return; with return undef;

This commit is contained in:
JT Smith 2008-01-24 21:58:15 +00:00
parent ffa90c5fbd
commit fa09c41598
113 changed files with 287 additions and 286 deletions

View file

@ -58,7 +58,7 @@ The name of the stow variable.
sub delete {
my $self = shift;
my $name = shift;
return unless ($name);
return undef unless ($name);
delete $self->{_data}{$name};
}
@ -108,7 +108,7 @@ The name of the variable.
sub get {
my $self = shift;
my $var = shift;
return if $self->session->config->get("disableCache");
return undef if $self->session->config->get("disableCache");
return $self->{_data}{$var};
}
@ -167,7 +167,7 @@ sub set {
if $self->session->config->get("disableCache");
my $name = shift;
my $value = shift;
return unless ($name);
return undef unless ($name);
$self->{_data}{$name} = $value;
}