Permalink
Browse files

fixed PBP problem

  • Loading branch information...
1 parent 550a3ce commit 4e4a92e227db8f6711c82a2e2716ee9dfcecb20d @xaicron committed Jul 9, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/App/envfile.pm
View
2 lib/App/envfile.pm
@@ -32,7 +32,7 @@ sub load_envfile {
sub _split_line {
my ($self, $line) = @_;
- my ($key, $value) = map { s/^\s+|\s+$//g; $_ } split '=', $line, 2;
+ my ($key, $value) = map { my $str = $_; $str =~ s/^\s+|\s+$//g; $str } split '=', $line, 2;
return $key, $value;
}

0 comments on commit 4e4a92e

Please sign in to comment.