From 50826247ddebab0fa65e920092445c61153c4252 Mon Sep 17 00:00:00 2001 From: Charles McGarvey Date: Sun, 5 Nov 2017 21:56:26 -0700 Subject: [PATCH] change an instance of "and" to "&&" --- lib/HTTP/AnyUA/Backend/Mojo/UserAgent.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/HTTP/AnyUA/Backend/Mojo/UserAgent.pm b/lib/HTTP/AnyUA/Backend/Mojo/UserAgent.pm index 003d10f..436eddf 100644 --- a/lib/HTTP/AnyUA/Backend/Mojo/UserAgent.pm +++ b/lib/HTTP/AnyUA/Backend/Mojo/UserAgent.pm @@ -142,7 +142,7 @@ sub _munge_response { } my $err = $tx->error; - if ($err and !$err->{code}) { + if ($err && !$err->{code}) { return HTTP::AnyUA::Util::internal_exception($err->{message}, $resp); } -- 2.45.2