Skip to content

Commit

Permalink
Eliminate "Use of uninitialized value in pattern match" warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
theory committed Jun 21, 2006
1 parent 4084867 commit 070f5ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/Bric/SOAP/Auth/DevTest.pm
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use HTTP::Cookies;

__PACKAGE__->SKIP_CLASS("BRICOLAGE_SERVER environment variable isn't set")
unless exists $ENV{BRICOLAGE_SERVER} || __PACKAGE__->SKIP_CLASS;
my $server = $ENV{BRICOLAGE_SERVER};
my $server = $ENV{BRICOLAGE_SERVER} || '';
$server = "http://$server" unless $server =~ m!^https?://!;
$server =~ s|/$||;

Expand Down

0 comments on commit 070f5ce

Please sign in to comment.