Skip to content

Commit

Permalink
Chomp $@ before printing
Browse files Browse the repository at this point in the history
  • Loading branch information
hinrik committed Oct 6, 2010
1 parent ff05c21 commit 9ad6c62
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/POE/Component/IRC.pm
Expand Up @@ -414,6 +414,7 @@ sub _sock_up {
};

if ($@) {
chomp $@;
warn "Couldn't use an SSL socket: $@\n";
$self->{usessl} = 0;
}
Expand Down

0 comments on commit 9ad6c62

Please sign in to comment.